summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkcc-x11.c
diff options
context:
space:
mode:
authorscott <scott>1997-12-18 04:29:53 +0000
committerscott <scott>1997-12-18 04:29:53 +0000
commit555aa2baf997237ed9a3d6591e3ff7fc49fb659d (patch)
treeefef65f94f4f57cd0703d9d84ab014101a09434a /gdk/x11/gdkcc-x11.c
parent26be2f7003d278f1abdea92e363da8272098f1b5 (diff)
downloadgtk+-555aa2baf997237ed9a3d6591e3ff7fc49fb659d.tar.gz
Caught a stray gdk_colormap_destroy that Owen missed (and Shawn found).
-- sg
Diffstat (limited to 'gdk/x11/gdkcc-x11.c')
-rw-r--r--gdk/x11/gdkcc-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkcc-x11.c b/gdk/x11/gdkcc-x11.c
index 8753369556..5364ff7720 100644
--- a/gdk/x11/gdkcc-x11.c
+++ b/gdk/x11/gdkcc-x11.c
@@ -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 */