aboutsummaryrefslogtreecommitdiff
path: root/games/xqf
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-05 18:32:21 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-05 18:32:21 +0000
commit04204759e68eeab31bd23cef018db24d5614fbac (patch)
treec2a159c5f90b834fb092aab8059f0a6e674ee0dd /games/xqf
parent61eeb92bf84968dcd580845fca97ce9d8bcf8275 (diff)
downloadports-04204759e68eeab31bd23cef018db24d5614fbac.tar.gz
ports-04204759e68eeab31bd23cef018db24d5614fbac.zip
Fix build on 4-stable with WITH_GTK2
PR: ports/74730 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=123252
Diffstat (limited to 'games/xqf')
-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 000000000000..2914e135011a
--- /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);