updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / gtk2-appmenu / xid-collision-debug.patch
blobd61238c3b274d6ffc14988a41230e587df90fc1c
1 --- gtk+-2.18.3/gdk/x11/gdkxid.c 2009-06-19 04:59:18.000000000 +0200
2 +++ gtk+-2.18.3/gdk/x11/gdkxid.c.new 2009-07-22 11:30:12.000000000 +0200
3 @@ -56,10 +56,10 @@
4 if (!display_x11->xid_ht)
5 display_x11->xid_ht = g_hash_table_new ((GHashFunc) gdk_xid_hash,
6 (GEqualFunc) gdk_xid_equal);
8 +/*
9 if (g_hash_table_lookup (display_x11->xid_ht, xid))
10 g_warning ("XID collision, trouble ahead");
12 +*/
13 g_hash_table_insert (display_x11->xid_ht, xid, data);