aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gnome-panel
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-02-13 09:44:34 +0800
committermarcus <marcus@FreeBSD.org>2003-02-13 09:44:34 +0800
commitdca7a5e5777a7020262e6c8126f368eae28d2a8e (patch)
treea5f45c8020d936c8373873f79aa336f59a14afb9 /x11/gnome-panel
parent19fe07e1e761ab74005c5e9ee89f326271153f73 (diff)
downloadfreebsd-ports-gnome-dca7a5e5777a7020262e6c8126f368eae28d2a8e.tar.gz
freebsd-ports-gnome-dca7a5e5777a7020262e6c8126f368eae28d2a8e.tar.zst
freebsd-ports-gnome-dca7a5e5777a7020262e6c8126f368eae28d2a8e.zip
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))