aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-06 02:32:21 +0800
committerkrion <krion@FreeBSD.org>2004-12-06 02:32:21 +0800
commitbe5701fec880f4840a2840dc63f23f2040c8a3b5 (patch)
treefba938bcfef3985ef8a6a05b6274a61aa8213b6e /games
parentccb79dc7bc4e709295059078dcd208439fcdb0a0 (diff)
downloadfreebsd-ports-graphics-be5701fec880f4840a2840dc63f23f2040c8a3b5.tar.gz
freebsd-ports-graphics-be5701fec880f4840a2840dc63f23f2040c8a3b5.tar.zst
freebsd-ports-graphics-be5701fec880f4840a2840dc63f23f2040c8a3b5.zip
Fix build on 4-stable with WITH_GTK2
PR: ports/74730 Submitted by: Ports Fury
Diffstat (limited to 'games')
-rw-r--r--games/xqf/files/patch-src::trayicon.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/xqf/files/patch-src::trayicon.c b/games/xqf/files/patch-src::trayicon.c
new file mode 100644
index 00000000000..2914e135011
--- /dev/null
+++ b/games/xqf/files/patch-src::trayicon.c
@@ -0,0 +1,20 @@
+--- src/trayicon.c.orig Sun Jun 20 03:30:35 2004
++++ src/trayicon.c Wed Dec 1 07:16:59 2004
+@@ -792,6 +792,8 @@
+ }
+ } else {
+
++ GdkWindow *gdkwin;
++
+ icon->box=gtk_event_box_new ();
+ gtk_container_add(GTK_CONTAINER(icon), icon->box);
+
+@@ -801,8 +803,6 @@
+
+ gtk_widget_show (icon->image);
+ gtk_widget_show(icon->box);
+-
+- GdkWindow *gdkwin;
+
+ gdkwin = gdk_window_lookup (icon->manager_window);
+ gdk_window_add_filter (gdkwin, egg_tray_icon_manager_filter, icon);