mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Don't use deprecated GThread API in gio tests
This commit is contained in:
@@ -940,10 +940,11 @@ test_dispatch (const gchar *object_path)
|
||||
|
||||
/* run this in a thread to avoid deadlocks */
|
||||
error = NULL;
|
||||
thread = g_thread_create (test_dispatch_thread_func,
|
||||
(gpointer) object_path,
|
||||
TRUE,
|
||||
&error);
|
||||
thread = g_thread_new ("test_dispatch",
|
||||
test_dispatch_thread_func,
|
||||
(gpointer) object_path,
|
||||
TRUE,
|
||||
&error);
|
||||
g_assert_no_error (error);
|
||||
g_assert (thread != NULL);
|
||||
g_main_loop_run (loop);
|
||||
|
Reference in New Issue
Block a user