mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
g_thread_new: never fail
Remove the GError argument from g_thread_new() and abort on failure. Introduce g_thread_try() for those who want to handle failure.
This commit is contained in:
@@ -567,8 +567,7 @@ on_name_acquired (GDBusConnection *connection,
|
||||
|
||||
g_thread_new ("check-proxies",
|
||||
check_proxies_in_thread,
|
||||
loop,
|
||||
NULL);
|
||||
loop);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user