mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Merge branch 'wait-for-async-uri-handler-called' into 'main'
gio/tests/desktop-app-info: Wait until the callback is called See merge request GNOME/glib!2809
This commit is contained in:
commit
c752b63143
@ -1118,7 +1118,7 @@ test_default_uri_handler_async (void)
|
||||
on_launch_default_for_uri_success_cb,
|
||||
&called);
|
||||
|
||||
while (!g_file_test (file_path, G_FILE_TEST_IS_REGULAR))
|
||||
while (!g_file_test (file_path, G_FILE_TEST_IS_REGULAR) || !called)
|
||||
g_main_context_iteration (NULL, FALSE);
|
||||
|
||||
g_assert_true (called);
|
||||
|
Loading…
Reference in New Issue
Block a user