aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtk+2.0/xid-collision-debug.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-26 10:03:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-26 10:03:50 +0000
commite2c73b39f5d8235ef6ac14bf4bb66d1b39ec2657 (patch)
tree0b37c87b394f16a8587d541694ff990251f9ef17 /main/gtk+2.0/xid-collision-debug.patch
parentabbc54b57d137e56bde8b434fa97caf5ed20db50 (diff)
downloadaports-e2c73b39f5d8235ef6ac14bf4bb66d1b39ec2657.tar.bz2
aports-e2c73b39f5d8235ef6ac14bf4bb66d1b39ec2657.tar.xz
main/gtk+2.0: fix libgtk-x11 dso
Diffstat (limited to 'main/gtk+2.0/xid-collision-debug.patch')
-rw-r--r--main/gtk+2.0/xid-collision-debug.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/gtk+2.0/xid-collision-debug.patch b/main/gtk+2.0/xid-collision-debug.patch
new file mode 100644
index 0000000000..d61238c3b2
--- /dev/null
+++ b/main/gtk+2.0/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);
+ }
+