IOThread: use FatalError() on g_thread_create() error

New GLib versions don't fail.
This commit is contained in:
Max Kellermann
2013-09-03 11:28:47 +02:00
parent bbd7115564
commit 4db119c01b
10 changed files with 15 additions and 49 deletions

View File

@@ -163,11 +163,7 @@ int main(int argc, char **argv)
g_log_set_default_handler(my_log_func, NULL);
io_thread_init();
if (!io_thread_start(&error)) {
g_warning("%s", error->message);
g_error_free(error);
return EXIT_FAILURE;
}
io_thread_start();
if (!input_stream_global_init(&error)) {
g_warning("%s", error->message);