[gnome-settings-daemon/gnome-3-4] housekeeping: Don't crash on exit
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-4] housekeeping: Don't crash on exit
- Date: Tue, 25 Sep 2012 11:17:55 +0000 (UTC)
commit c0279da2b3e4c954b69689b113f5dd2c434943a2
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 cf10e49..b7f9d68 100644
--- a/plugins/housekeeping/gsd-disk-space.c
+++ b/plugins/housekeeping/gsd-disk-space.c
@@ -293,6 +293,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]