typo in gdk_x11_colormap_foreign_new()



Hi,

I found serious typo in gdk_x11_colormap_foreign_new().

Regards,
--Naofumi


Index: gdk/x11/gdkcolor-x11.c
===================================================================
RCS file: /cvs/gnome/gtk+/gdk/x11/gdkcolor-x11.c,v
retrieving revision 1.48
diff -u -r1.48 gdkcolor-x11.c
--- gdk/x11/gdkcolor-x11.c	28 Nov 2002 00:33:04 -0000	1.48
+++ gdk/x11/gdkcolor-x11.c	28 Nov 2002 23:07:19 -0000
@@ -1282,7 +1282,7 @@
   screen = gdk_visual_get_screen (visual);
   
   if (xcolormap == DefaultColormap (GDK_SCREEN_XDISPLAY (screen),
-				    GDK_SCREEN_XNUMBER (screen)));
+				    GDK_SCREEN_XNUMBER (screen)))
     return g_object_ref (gdk_screen_get_system_colormap (screen));
 
   colormap = gdk_colormap_lookup (screen, xcolormap);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]