From f77a0199af3a3d1362be95ab651186546492e8cd Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Thu, 16 Jun 2011 14:45:52 -0300 Subject: Fix the msg forms (question, warning, error) to return 5 when timeout --- src/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit