diff options
author | Arx Cruz <arxcruz@gnome.org> | 2015-05-29 14:46:37 +0200 |
---|---|---|
committer | Arx Cruz <arxcruz@gnome.org> | 2015-05-29 14:46:37 +0200 |
commit | 297380bad9004876c873a86dbd25bc5fa420e4a3 (patch) | |
tree | 59dad703a41a7a36776fb43ea8b68ef906e2c40a | |
parent | 160f0442c62579b79b15f953a9e6766a833952fd (diff) | |
download | zenity-297380bad9004876c873a86dbd25bc5fa420e4a3.tar.gz |
Bug #742963 - Basic notifications do not return
-rw-r--r-- | src/notification.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notification.c b/src/notification.c index a4355a1..3169a99 100644 --- a/src/notification.c +++ b/src/notification.c @@ -323,6 +323,7 @@ zenity_notification (ZenityData *data, ZenityNotificationData *notification_data if (notification_data->listen) { zenity_notification_listen_on_stdin (data); + gtk_main(); } else { if (notification_data->notification_text == NULL) { exit (1); @@ -362,9 +363,8 @@ zenity_notification (ZenityData *data, ZenityNotificationData *notification_data if (data->timeout_delay > 0) { g_timeout_add_seconds (data->timeout_delay, (GSourceFunc) zenity_util_timeout_handle, NULL); + gtk_main(); } - - gtk_main (); } #endif |