summaryrefslogtreecommitdiff
path: root/testing/gtk2/xid-collision-debug.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-21 00:02:19 +0000
committerroot <root@rshg054.dnsready.net>2012-07-21 00:02:19 +0000
commit0c8308a9eb7ef6a30cec078ad1d753bd52979b66 (patch)
tree4ed4ccb8be3076c0b8f3366e05f0ebcd68c65e39 /testing/gtk2/xid-collision-debug.patch
parent226ac092dca4754b7b5a421e226c5971e3b607b2 (diff)
Sat Jul 21 00:02:19 UTC 2012
Diffstat (limited to 'testing/gtk2/xid-collision-debug.patch')
-rw-r--r--testing/gtk2/xid-collision-debug.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/gtk2/xid-collision-debug.patch b/testing/gtk2/xid-collision-debug.patch
new file mode 100644
index 000000000..d61238c3b
--- /dev/null
+++ b/testing/gtk2/xid-collision-debug.patch
@@ -0,0 +1,15 @@
+--- 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);
+-
++/*
+ 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);
+ }
+