]> Pileus Git - ~andy/gtk/blobdiff - gdk/x11/gdkcc-x11.c
Caught a stray gdk_colormap_destroy that Owen missed (and Shawn found).
[~andy/gtk] / gdk / x11 / gdkcc-x11.c
index 87533695562e6b128e821405adc07e48572f75ce..5364ff772099573c7dfc7c356157bd441f21c323 100644 (file)
@@ -644,7 +644,7 @@ gdk_color_context_free(GdkColorContext *cc)
                g_free(cc->cmap);
 
        if (cc->need_to_free_colormap)
-               gdk_colormap_destroy(cc->colormap);
+               gdk_colormap_unref(cc->colormap);
 
        /* free any palette that has been associated with this GdkColorContext */