summaryrefslogtreecommitdiff
path: root/x11/gnome-panel
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-02-13 01:44:34 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-02-13 01:44:34 +0000
commit1b1395caebd2683115272af3378e2f2ac97b79ee (patch)
tree0cda8e62781f9da34c4419028082c1b89f2f2b33 /x11/gnome-panel
parentUpgrade to version 3.2.1 (diff)
Fix crash when destroying the notification_area_applet.
Obtained from: GNOME bug 105421
Diffstat (limited to 'x11/gnome-panel')
-rw-r--r--x11/gnome-panel/Makefile1
-rw-r--r--x11/gnome-panel/files/patch-applets_notification_area_eggtraymanager.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile
index db2138760fbb..c85e051b8d61 100644
--- a/x11/gnome-panel/Makefile
+++ b/x11/gnome-panel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomepanel
PORTVERSION= 2.2.0.1
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-panel/2.2
diff --git a/x11/gnome-panel/files/patch-applets_notification_area_eggtraymanager.c b/x11/gnome-panel/files/patch-applets_notification_area_eggtraymanager.c
new file mode 100644
index 000000000000..8cab3bb47c83
--- /dev/null
+++ b/x11/gnome-panel/files/patch-applets_notification_area_eggtraymanager.c
@@ -0,0 +1,11 @@
+--- applets/notification_area/eggtraymanager.c.orig Wed Feb 12 20:37:06 2003
++++ applets/notification_area/eggtraymanager.c Wed Feb 12 20:37:35 2003
+@@ -399,7 +399,7 @@
+
+ invisible = manager->invisible;
+
+- display = GDK_WINDOW_XDISPLAY (manager->invisible);
++ display = GDK_WINDOW_XDISPLAY (manager->invisible->window);
+
+ if (XGetSelectionOwner (display, manager->selection_atom) ==
+ GDK_WINDOW_XWINDOW (manager->invisible->window))