summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArx Cruz <arxcruz@src.gnome.org>2011-06-16 14:45:52 -0300
committerArx Cruz <arxcruz@src.gnome.org>2011-06-16 14:45:52 -0300
commitf77a0199af3a3d1362be95ab651186546492e8cd (patch)
treeecebc5d3d5bf34a450d92fcfa236c2ea5d521e20
parentBug 651948 - zenity list does not return default value when timeout is over (diff)
downloadzenity-f77a0199af3a3d1362be95ab651186546492e8cd.tar.gz
zenity-f77a0199af3a3d1362be95ab651186546492e8cd.tar.bz2
zenity-f77a0199af3a3d1362be95ab651186546492e8cd.zip
Fix the msg forms (question, warning, error) to return 5 when timeout
-rw-r--r--src/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msg.c b/src/msg.c
index 567ee23d..1a92875b 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -138,7 +138,7 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
zenity_util_show_dialog (dialog);
if(data->timeout_delay > 0) {
- g_timeout_add_seconds (data->timeout_delay, (GSourceFunc) zenity_util_timeout_handle, dialog);
+ g_timeout_add_seconds (data->timeout_delay, (GSourceFunc) zenity_util_timeout_handle, NULL);
}
g_object_unref (builder);
bgstack15