From 5a3d3ba05fc10c22ad07e366278e67a950fc349b Mon Sep 17 00:00:00 2001 From: John Johansen Date: Wed, 5 Sep 2007 21:39:00 +0000 Subject: [PATCH] fix segfault when about dialog is closed --- management/applets/apparmorapplet-gnome/src/apparmor-applet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/applets/apparmorapplet-gnome/src/apparmor-applet.c b/management/applets/apparmorapplet-gnome/src/apparmor-applet.c index b3ef53e8c..672f1b7f0 100644 --- a/management/applets/apparmorapplet-gnome/src/apparmor-applet.c +++ b/management/applets/apparmorapplet-gnome/src/apparmor-applet.c @@ -302,7 +302,7 @@ void applet_about(BonoboUIComponent * uic) g_signal_connect (about_apparmor_applet, "destroy", G_CALLBACK (gtk_widget_destroyed), - &about_apparmor_applet); + NULL); gtk_widget_show(about_apparmor_applet); }