mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
Fix build with gcc-2.*.
https://bugzilla.gnome.org/show_bug.cgi?id=650884
This commit is contained in:
committed by
Colin Walters
parent
c61fd66e77
commit
ce0f7cafa1
@@ -529,6 +529,8 @@ test_connection_signals (void)
|
||||
GError *error;
|
||||
gboolean ret;
|
||||
GVariant *result;
|
||||
gboolean quit_mainloop_fired;
|
||||
guint quit_mainloop_id;
|
||||
|
||||
error = NULL;
|
||||
|
||||
@@ -686,8 +688,6 @@ test_connection_signals (void)
|
||||
* Also to check the total amount of NameOwnerChanged signals - use a 5 second ceiling
|
||||
* to avoid spinning forever
|
||||
*/
|
||||
gboolean quit_mainloop_fired;
|
||||
guint quit_mainloop_id;
|
||||
quit_mainloop_fired = FALSE;
|
||||
quit_mainloop_id = g_timeout_add (30000, test_connection_quit_mainloop, &quit_mainloop_fired);
|
||||
while (count_name_owner_changed < 2 && !quit_mainloop_fired)
|
||||
|
Reference in New Issue
Block a user