summaryrefslogtreecommitdiff
path: root/src/notification.c
diff options
context:
space:
mode:
authorLogan Rathbone <poprocks@gmail.com>2021-02-14 22:27:01 -0500
committerLogan Rathbone <poprocks@gmail.com>2021-02-14 22:27:01 -0500
commit2aac67b9c184ad533510d61569a5763e87ecf7f3 (patch)
tree9be8a26d0a33c78fd549890fd7655923028178d6 /src/notification.c
parent71744aa4b388754b20bbcdbf7dabf482202fee79 (diff)
downloadzenity-2aac67b9c184ad533510d61569a5763e87ecf7f3.tar.gz
Mass cleanup and finish meson migration.
Autotools purged.
Diffstat (limited to 'src/notification.c')
-rw-r--r--src/notification.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/notification.c b/src/notification.c
index 20a47f7..e5cfe27 100644
--- a/src/notification.c
+++ b/src/notification.c
@@ -75,7 +75,7 @@ on_notification_default_action (NotifyNotification *n,
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_OK);
- exit(zen_data->exit_code);
+ zenity_util_gapp_quit (NULL);
}
static GHashTable *
@@ -378,10 +378,7 @@ zenity_notification (ZenityData *data,
{
zenity_notification_listen_on_stdin (data);
- /* FIXME - gtk_main () was here. Possibly replace this with the
- * zenity_util_gapp_main function and a corresponding _quit in
- * place of the exit calls.
- */
+ zenity_util_gapp_main (NULL);
}
else
{
@@ -431,10 +428,7 @@ zenity_notification (ZenityData *data,
(GSourceFunc) zenity_util_timeout_handle,
NULL);
- /* FIXME - gtk_main () was here. Possibly replace this with the
- * zenity_util_gapp_main function and a corresponding _quit in
- * place of the exit calls.
- */
+ zenity_util_gapp_main (NULL);
}
}