[gnome-software/859-app-has-been-installed-notifications-sit-around-indefinitely: 24/25] gs-application: Remove possibly obsolete notifications on start
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/859-app-has-been-installed-notifications-sit-around-indefinitely: 24/25] gs-application: Remove possibly obsolete notifications on start
- Date: Mon, 16 May 2022 15:13:19 +0000 (UTC)
commit c5803b018a3092d103002d19cb88b6757079218c
Author: Milan Crha <mcrha redhat com>
Date: Fri May 13 09:57:21 2022 +0200
gs-application: Remove possibly obsolete notifications on start
Remove any possibly obsolete notifications from the last run, in case
there left any such.
src/gs-application.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/gs-application.c b/src/gs-application.c
index e3f5f55c7..5b71efecb 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -150,6 +150,8 @@ gs_application_init (GsApplication *application)
};
g_application_add_main_option_entries (G_APPLICATION (application), options);
+
+ gs_utils_withdraw_notifications (G_APPLICATION (application));
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]