diff --git a/ChangeLog b/ChangeLog index 7929a4871d..6589ee582c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-07-09 Dan Williams + + * gnome/applet/applet.c + - (nma_destroy): don't pass NULL to notify_notification_close + (RH #197917) + 2006-07-09 Dan Williams * gnome/applet/applet.c diff --git a/gnome/applet/applet.c b/gnome/applet/applet.c index 5b17bc39d5..de5ae140cf 100644 --- a/gnome/applet/applet.c +++ b/gnome/applet/applet.c @@ -2450,8 +2450,11 @@ static void G_GNUC_NORETURN nma_destroy (NMApplet *applet) nmi_passphrase_dialog_destroy (applet); #ifdef ENABLE_NOTIFY - notify_notification_close (applet->notification, NULL); - g_object_unref (applet->notification); + if (applet->notification) + { + notify_notification_close (applet->notification, NULL); + g_object_unref (applet->notification); + } #endif if (applet->redraw_timeout_id > 0)