summaryrefslogtreecommitdiff
path: root/src/zenity.h
diff options
context:
space:
mode:
authorOlivier Blin <blino@mandriva.com>2009-04-23 19:55:12 +0200
committerLucas Rocha <lucasr@gnome.org>2009-08-08 10:47:55 +0100
commit62a1292d1ea8b611b539ab2cc5dc4dfe479225d8 (patch)
treed2da1faef276c8b6f20332a8e3356f07b5b95490 /src/zenity.h
parent94190df420ee849752f5726979fea65fdb3b313b (diff)
Bug 579999 – zenity sets a huge but finite timeout
Declare timeout delay as signed, so that assigning -1 does not act as setting a huge (but finite) timeout (this has been noticed by resetting the clock)
Diffstat (limited to 'src/zenity.h')
-rw-r--r--src/zenity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenity.h b/src/zenity.h
index 511ee84..3248ad3 100644
--- a/src/zenity.h
+++ b/src/zenity.h
@@ -29,7 +29,7 @@ typedef struct {
gint width;
gint height;
gint exit_code;
- guint timeout_delay;
+ gint timeout_delay;
} ZenityData;
typedef enum {