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

This commit is contained in:
Arx Cruz 2011-06-16 14:45:52 -03:00
parent b39ad33c35
commit f77a0199af

View File

@ -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);