projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d642072
)
testsuite: rename 'wait' function to 'timed_loop'
author
Luca Bacci
<luca.bacci982@gmail.com>
Fri, 26 May 2023 15:46:08 +0000
(17:46 +0200)
committer
Luca Bacci
<luca.bacci982@gmail.com>
Mon, 29 May 2023 14:43:28 +0000
(16:43 +0200)
When compiling for macOS, CLang errors out because a non-static
wait function is declared in sys/wait.h.
testsuite/gtk/test-focus-chain.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/test-focus-chain.c
b/testsuite/gtk/test-focus-chain.c
index c89e276126beece3745cc133d15869918d325698..e58912ae0db8cccf4245c1624b2417912f218362 100644
(file)
--- a/
testsuite/gtk/test-focus-chain.c
+++ b/
testsuite/gtk/test-focus-chain.c
@@
-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)