diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/color.c | 6 | ||||
-rw-r--r-- | src/password.c | 6 | ||||
-rw-r--r-- | src/progress.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/color.c b/src/color.c index b6a6b121..633e3427 100644 --- a/src/color.c +++ b/src/color.c @@ -82,9 +82,9 @@ void zenity_colorselection (ZenityData *data, ZenityColorData *color_data) zenity_util_show_dialog (dialog, data->attach); if (data->timeout_delay > 0) { - g_timeout_add (data->timeout_delay * 1000, - (GSourceFunc) zenity_util_timeout_handle, - dialog); + g_timeout_add_seconds (data->timeout_delay * 1000, + (GSourceFunc) zenity_util_timeout_handle, + dialog); } gtk_main(); diff --git a/src/password.c b/src/password.c index 84cca21e..a6dceda2 100644 --- a/src/password.c +++ b/src/password.c @@ -152,9 +152,9 @@ void zenity_password_dialog (ZenityData *data, ZenityPasswordData *password_data zenity_util_show_dialog (dialog, data->attach); if (data->timeout_delay > 0) { - g_timeout_add (data->timeout_delay * 1000, - (GSourceFunc) zenity_util_timeout_handle, - dialog); + g_timeout_add_seconds (data->timeout_delay * 1000, + (GSourceFunc) zenity_util_timeout_handle, + dialog); } gtk_main(); } diff --git a/src/progress.c b/src/progress.c index 00544873..1963f16e 100644 --- a/src/progress.c +++ b/src/progress.c @@ -67,9 +67,9 @@ static void zenity_progress_pulsate_start (GObject *progress_bar) { if (pulsate_timeout == -1) { - pulsate_timeout = g_timeout_add (100, - zenity_progress_pulsate_progress_bar, - progress_bar); + pulsate_timeout = g_timeout_add_seconds (100, + zenity_progress_pulsate_progress_bar, + progress_bar); } } |