summarylogtreecommitdiffstats
path: root/notify-notification-close.patch
diff options
context:
space:
mode:
authorQue Quotion2018-09-29 16:16:52 +0900
committerQue Quotion2018-09-29 16:16:52 +0900
commitef3903d1421c875fe41d295a8d7fe64467d5ed4e (patch)
tree8a6180794083f2976cf511fc7af57939c9c85514 /notify-notification-close.patch
parentbf05ab9daad4d015d75fb5cf76a9897edf05663c (diff)
downloadaur-ef3903d1421c875fe41d295a8d7fe64467d5ed4e.tar.gz
Backport notify-notification-close fix from upstream
Diffstat (limited to 'notify-notification-close.patch')
-rw-r--r--notify-notification-close.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/notify-notification-close.patch b/notify-notification-close.patch
new file mode 100644
index 000000000000..c583ddf8d45e
--- /dev/null
+++ b/notify-notification-close.patch
@@ -0,0 +1,13 @@
+--- src/os-patches/plugins/housekeeping/gsd-disk-space.c~ 2018-09-29 16:07:04.972842146 +0900
++++ src/os-patches/plugins/housekeeping/gsd-disk-space.c 2018-09-29 16:09:47.679514729 +0900
+@@ -1017,7 +1017,9 @@
+ g_clear_object (&ldsm_monitor);
+ g_clear_object (&settings);
+ g_clear_object (&privacy_settings);
+- g_clear_pointer (&notification, notify_notification_close);
++ /* NotifyNotification::closed callback will drop reference */
++ if (notification != NULL)
++ notify_notification_close (notification, NULL);
+ g_slist_free_full (ignore_paths, g_free);
+ ignore_paths = NULL;
+ }