From c469015574c403d9f19e20e5ad8c0ae6dc306575 Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 2 Aug 2003 04:48:57 +0000 Subject: Fix a bus error on logout on -CURRENT if one of the panels contained a drawer. This patch has been fed back to GNOME via Bugzilla. More details can be found here: http://bugzilla.gnome.org/show_bug.cgi?id=96423 --- x11/gnome-panel/Makefile | 1 + x11/gnome-panel/files/patch-gnome-panel_panel.c | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 x11/gnome-panel/files/patch-gnome-panel_panel.c (limited to 'x11/gnome-panel') diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile index 3ae2260abe5e..caa6e7f78e31 100644 --- a/x11/gnome-panel/Makefile +++ b/x11/gnome-panel/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnomepanel PORTVERSION= 2.2.2.2 +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-gnome-panel_panel.c b/x11/gnome-panel/files/patch-gnome-panel_panel.c new file mode 100644 index 000000000000..4c51bc47f38c --- /dev/null +++ b/x11/gnome-panel/files/patch-gnome-panel_panel.c @@ -0,0 +1,25 @@ +--- gnome-panel/panel.c.orig Fri Aug 1 21:48:35 2003 ++++ gnome-panel/panel.c Fri Aug 1 21:48:37 2003 +@@ -569,18 +569,18 @@ + + if (pd->menu) + g_object_unref (pd->menu); +- pd->menu = NULL; +- +- pd->panel = NULL; + + if (pd->deactivate_idle != 0) + g_source_remove (pd->deactivate_idle); +- pd->deactivate_idle = 0; + + g_object_set_data (G_OBJECT (widget), "PanelData", NULL); + + panel_list = g_slist_remove (panel_list, pd); + g_free (pd); ++ ++ pd->menu = NULL; ++ pd->panel = NULL; ++ pd->deactivate_idle = 0; + } + + static void -- cgit