notify: Also try to use the flatpak app name as notify app

This commit is contained in:
Marco Trevisan (Treviño) 2022-05-17 03:46:56 +02:00
parent f3eb807464
commit 13718b6ea0
1 changed files with 3 additions and 0 deletions

View File

@ -191,6 +191,9 @@ notify_init (const char *app_name)
GApplication *application;
app_name = _notify_get_snap_app ();
if (app_name == NULL) {
app_name = _notify_get_flatpak_app ();
}
if (app_name == NULL &&
(application = g_application_get_default ())) {