diff options
author | Alberto Garcia <agarcia@igalia.com> | 2010-10-08 02:37:23 +0200 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2010-10-22 18:58:47 +0200 |
commit | d6a73fd5b0c8e30b22ed77f5ffa47bed2b506040 (patch) | |
tree | ec5ada040b78fed901983a1389101ad0cec85df6 /tests | |
parent | 56d5b454431f00ba043c289bc75f4579a6a25696 (diff) | |
download | gtk+-d6a73fd5b0c8e30b22ed77f5ffa47bed2b506040.tar.gz |
Assign all g_signal_connect() and friends to gulong variables
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=87821
Diffstat (limited to 'tests')
-rw-r--r-- | tests/prop-editor.c | 4 | ||||
-rw-r--r-- | tests/testcalendar.c | 2 | ||||
-rw-r--r-- | tests/testgtk.c | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/tests/prop-editor.c b/tests/prop-editor.c index 0a9a3f863e..62b9c7eeed 100644 --- a/tests/prop-editor.c +++ b/tests/prop-editor.c @@ -28,7 +28,7 @@ typedef struct { gpointer instance; GObject *alive_object; - guint id; + gulong id; } DisconnectData; static void @@ -102,7 +102,7 @@ typedef struct { GObject *obj; GParamSpec *spec; - gint modified_id; + gulong modified_id; } ObjectProperty; static void diff --git a/tests/testcalendar.c b/tests/testcalendar.c index 2a78229f3d..e490e8e9c5 100644 --- a/tests/testcalendar.c +++ b/tests/testcalendar.c @@ -42,7 +42,7 @@ typedef struct _CalendarData GHashTable *details_table; GtkTextBuffer *details_buffer; - guint details_changed; + gulong details_changed; } CalendarData; enum diff --git a/tests/testgtk.c b/tests/testgtk.c index 49a227eb41..eec04db168 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -3711,7 +3711,7 @@ create_message_dialog (GtkWidget *widget) static GtkWidget *sw_parent = NULL; static GtkWidget *sw_float_parent; -static guint sw_destroyed_handler = 0; +static gulong sw_destroyed_handler = 0; static gboolean scrolled_windows_delete_cb (GtkWidget *widget, GdkEventAny *event, GtkWidget *scrollwin) @@ -5673,8 +5673,8 @@ create_display_screen (GtkWidget *widget) /* Event Watcher */ -static gboolean event_watcher_enter_id = 0; -static gboolean event_watcher_leave_id = 0; +static gulong event_watcher_enter_id = 0; +static gulong event_watcher_leave_id = 0; static gboolean event_watcher (GSignalInvocationHint *ihint, @@ -8635,7 +8635,7 @@ struct PropertiesData { GtkWidget **window; GdkCursor *cursor; gboolean in_query; - gint handler; + gulong handler; }; static void |