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
parentb39ad33c35bb93c647e7f6f05d1310a0ce6895d5 (diff)
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 567ee23..1a92875 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);