[zenity] Bug 579999 – zenity sets a huge but finite timeout
- From: Lucas Almeida Rocha <lucasr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [zenity] Bug 579999 – zenity sets a huge but finite timeout
- Date: Sat, 8 Aug 2009 09:49:26 +0000 (UTC)
commit 62a1292d1ea8b611b539ab2cc5dc4dfe479225d8
Author: Olivier Blin <blino mandriva com>
Date: Thu Apr 23 19:55:12 2009 +0200
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)
src/option.c | 2 +-
src/zenity.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/option.c b/src/option.c
index c7a8b35..93a09a2 100644
--- a/src/option.c
+++ b/src/option.c
@@ -40,7 +40,7 @@ static gboolean zenity_general_multiple;
static gboolean zenity_general_editable;
static gchar *zenity_general_uri;
static gboolean zenity_general_dialog_no_wrap;
-static guint zenity_general_timeout_delay;
+static gint zenity_general_timeout_delay;
/* Calendar Dialog Options */
static gboolean zenity_calendar_active;
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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]