summaryrefslogtreecommitdiff
path: root/testing/gtk2/xid-collision-debug.patch
diff options
context:
space:
mode:
authorJoe <joe@joelightning.com>2011-10-20 22:51:34 +0100
committerJoe <joe@joelightning.com>2011-10-20 22:51:34 +0100
commite866f0523be39471f4ff960fde220ff65ecfe503 (patch)
tree773659d4e29799c113d364c02b76b8bcde29d932 /testing/gtk2/xid-collision-debug.patch
parent3bba0cffb3b78e071fed7a076a70916dee05a38e (diff)
parent5c0a5f2b9fa7f1683f279728342aa7f5f0cf90a3 (diff)
Merge branch 'master' of ssh://parabola-git/abslibre-mips64el
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);
+ }
+