diff --git a/desktop/toolkit/gtk/gtk2/files/xid-collision-debug.patch b/desktop/toolkit/gtk/gtk2/files/xid-collision-debug.patch index db0816ef16..a205e425c1 100644 --- a/desktop/toolkit/gtk/gtk2/files/xid-collision-debug.patch +++ b/desktop/toolkit/gtk/gtk2/files/xid-collision-debug.patch @@ -1,15 +1,14 @@ -Index: gtk+-2.16.5/gdk/x11/gdkxid.c -=================================================================== ---- gtk+-2.16.5.orig/gdk/x11/gdkxid.c -+++ gtk+-2.16.5/gdk/x11/gdkxid.c -@@ -57,8 +57,10 @@ _gdk_xid_table_insert (GdkDisplay *displ +--- gtk+-2.18.3/gdk/x11/gdkxid.c 2009-06-19 04:59:18.000000000 +0200 ++++ gtk+-2.18.3/gdk/x11/gdkxid.c.new 2009-07-22 11:30:12.000000000 +0200 +@@ -56,10 +56,10 @@ + if (!display_x11->xid_ht) display_x11->xid_ht = g_hash_table_new ((GHashFunc) gdk_xid_hash, - (GEqualFunc) gdk_xid_equal); - -+ /* + (GEqualFunc) gdk_xid_equal); +- ++/* if (g_hash_table_lookup (display_x11->xid_ht, xid)) g_warning ("XID collision, trouble ahead"); -+ */ - +- ++*/ g_hash_table_insert (display_x11->xid_ht, xid, data); - } + }