mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
testsuite: rename 'wait' function to 'timed_loop'
When compiling for macOS, CLang errors out because a non-static wait function is declared in sys/wait.h.
This commit is contained in:
parent
d642072603
commit
703494c7fa
@ -78,7 +78,7 @@ quit_iteration_loop (gpointer user_data)
|
||||
}
|
||||
|
||||
static void
|
||||
wait (guint millis)
|
||||
timed_loop (guint millis)
|
||||
{
|
||||
gboolean keep_running = TRUE;
|
||||
|
||||
@ -145,7 +145,7 @@ generate_focus_chain (GtkWidget *window,
|
||||
}
|
||||
|
||||
g_string_append_printf (output, "%s\n", name);
|
||||
wait (100);
|
||||
timed_loop (100);
|
||||
count++;
|
||||
|
||||
if (!first)
|
||||
|
Loading…
Reference in New Issue
Block a user