2006-07-09 Dan Williams <dcbw@redhat.com>

* gnome/applet/applet.c
		- (nma_destroy): don't pass NULL to notify_notification_close
			(RH #197917)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1865 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2006-07-09 23:38:54 +00:00
parent e2bd1d1a03
commit 8b992922d0
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2006-07-09 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet.c
- (nma_destroy): don't pass NULL to notify_notification_close
(RH #197917)
2006-07-09 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet.c

View file

@ -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)