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)
This commit is contained in:
parent
94190df420
commit
62a1292d1e
@ -40,7 +40,7 @@ static gboolean zenity_general_multiple;
|
|||||||
static gboolean zenity_general_editable;
|
static gboolean zenity_general_editable;
|
||||||
static gchar *zenity_general_uri;
|
static gchar *zenity_general_uri;
|
||||||
static gboolean zenity_general_dialog_no_wrap;
|
static gboolean zenity_general_dialog_no_wrap;
|
||||||
static guint zenity_general_timeout_delay;
|
static gint zenity_general_timeout_delay;
|
||||||
|
|
||||||
/* Calendar Dialog Options */
|
/* Calendar Dialog Options */
|
||||||
static gboolean zenity_calendar_active;
|
static gboolean zenity_calendar_active;
|
||||||
|
@ -29,7 +29,7 @@ typedef struct {
|
|||||||
gint width;
|
gint width;
|
||||||
gint height;
|
gint height;
|
||||||
gint exit_code;
|
gint exit_code;
|
||||||
guint timeout_delay;
|
gint timeout_delay;
|
||||||
} ZenityData;
|
} ZenityData;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
Reference in New Issue
Block a user