[gnome-settings-daemon] housekeeping: Don't crash on exit
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] housekeeping: Don't crash on exit
- Date: Tue, 25 Sep 2012 11:16:17 +0000 (UTC)
commit dcfe290500e0d68a71f09e576e28c09f7572cef6
Author: Bastien Nocera <hadess hadess net>
Date: Fri Sep 21 13:46:34 2012 +0200
housekeeping: Don't crash on exit
If a notification popup was shown, and then dismissed, notification
wouldn't have been reset, and we would crash on exit trying to
dismiss it.
https://bugzilla.redhat.com/show_bug.cgi?id=859383
https://bugzilla.gnome.org/show_bug.cgi?id=684548
plugins/housekeeping/gsd-disk-space.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/housekeeping/gsd-disk-space.c b/plugins/housekeeping/gsd-disk-space.c
index 4c6b3c5..51e4a8e 100644
--- a/plugins/housekeeping/gsd-disk-space.c
+++ b/plugins/housekeeping/gsd-disk-space.c
@@ -294,6 +294,7 @@ static void
on_notification_closed (NotifyNotification *notification)
{
g_object_unref (notification);
+ notificaton = NULL;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]