diff -Nru -x '*~' -x '*.o' -x '*.orig' -x '*.rej' gtk+-2.0.8.orig/gdk/x11/gdkwindow-x11.c gtk+-2.0.8/gdk/x11/gdkwindow-x11.c
--- gtk+-2.0.8.orig/gdk/x11/gdkwindow-x11.c	Wed Nov 13 13:42:46 2002
+++ gtk+-2.0.8/gdk/x11/gdkwindow-x11.c	Wed Nov 13 13:41:26 2002
@@ -202,6 +202,8 @@
                             &window_attributes);
       drawable_impl->colormap =
         gdk_colormap_lookup (window_attributes.colormap);
+      if (drawable_impl->colormap)
+	g_object_ref (drawable_impl->colormap);
     }
   
   return drawable_impl->colormap;
