diff options
author | Arx Cruz <arxcruz@src.gnome.org> | 2011-06-16 14:45:52 -0300 |
---|---|---|
committer | Arx Cruz <arxcruz@src.gnome.org> | 2011-06-16 14:45:52 -0300 |
commit | f77a0199af3a3d1362be95ab651186546492e8cd (patch) | |
tree | ecebc5d3d5bf34a450d92fcfa236c2ea5d521e20 | |
parent | Bug 651948 - zenity list does not return default value when timeout is over (diff) | |
download | zenity-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |