summaryrefslogtreecommitdiff
path: root/src/entry.c
diff options
context:
space:
mode:
authorArx Cruz <arxcruz@src.gnome.org>2011-06-16 11:07:58 -0300
committerArx Cruz <arxcruz@src.gnome.org>2011-06-16 11:34:01 -0300
commitb39ad33c35bb93c647e7f6f05d1310a0ce6895d5 (patch)
tree9033edbaf0a4290748b190d8497142594352bafc /src/entry.c
parent2fa457ed44afa5f4bbb35e3f3731ac11e64c0b7a (diff)
downloadzenity-b39ad33c35bb93c647e7f6f05d1310a0ce6895d5.tar.gz
Bug 651948 - zenity list does not return default value when timeout is over
Diffstat (limited to 'src/entry.c')
-rw-r--r--src/entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entry.c b/src/entry.c
index d69d918..ce6cda5 100644
--- a/src/entry.c
+++ b/src/entry.c
@@ -129,7 +129,7 @@ zenity_entry (ZenityData *data, ZenityEntryData *entry_data)
zenity_util_show_dialog (dialog);
if(data->timeout_delay > 0) {
- g_timeout_add_seconds (data->timeout_delay, (GSourceFunc) zenity_util_timeout_handle, NULL);
+ g_timeout_add_seconds (data->timeout_delay, (GSourceFunc) zenity_util_timeout_handle, dialog);
}
gtk_main ();