diff options
author | marcus <marcus@FreeBSD.org> | 2003-02-13 09:44:34 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-02-13 09:44:34 +0800 |
commit | dca7a5e5777a7020262e6c8126f368eae28d2a8e (patch) | |
tree | a5f45c8020d936c8373873f79aa336f59a14afb9 /x11/gnomepanel | |
parent | 19fe07e1e761ab74005c5e9ee89f326271153f73 (diff) | |
download | freebsd-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/gnomepanel')
-rw-r--r-- | x11/gnomepanel/Makefile | 1 | ||||
-rw-r--r-- | x11/gnomepanel/files/patch-applets_notification_area_eggtraymanager.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/x11/gnomepanel/Makefile b/x11/gnomepanel/Makefile index db2138760fbb..c85e051b8d61 100644 --- a/x11/gnomepanel/Makefile +++ b/x11/gnomepanel/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/gnomepanel/files/patch-applets_notification_area_eggtraymanager.c b/x11/gnomepanel/files/patch-applets_notification_area_eggtraymanager.c new file mode 100644 index 000000000000..8cab3bb47c83 --- /dev/null +++ b/x11/gnomepanel/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)) |