summaryrefslogtreecommitdiff
path: root/src/notification.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notification.c')
-rw-r--r--src/notification.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notification.c b/src/notification.c
index 674eaec9..99a2e36a 100644
--- a/src/notification.c
+++ b/src/notification.c
@@ -292,7 +292,7 @@ zenity_notification (ZenityData *data, ZenityNotificationData *notification_data
gtk_status_icon_set_visible (status_icon, TRUE);
if(data->timeout_delay > 0) {
- g_timeout_add (data->timeout_delay * 1000, (GSourceFunc) zenity_util_timeout_handle, NULL);
+ g_timeout_add_seconds (data->timeout_delay, (GSourceFunc) zenity_util_timeout_handle, NULL);
}
gtk_main ();
bgstack15