aboutsummaryrefslogtreecommitdiff
path: root/games/xqf/files/patch-src::trayicon.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/xqf/files/patch-src::trayicon.c')
-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);