[zenity] Fix the msg forms (question, warning, error) to return 5 when timeout



commit f77a0199af3a3d1362be95ab651186546492e8cd
Author: Arx Cruz <arxcruz src gnome org>
Date:   Thu Jun 16 14:45:52 2011 -0300

    Fix the msg forms (question, warning, error) to return 5 when timeout

 src/msg.c |    2 +-
 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]