From 1e7c923638600f865601bda3e2f294cadea7a244 Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 24 Oct 2014 13:48:16 +0200 Subject: Remove deprecated glib thread api calls. Also bump minimum required glib version to 2.32. --- src/core/main.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/core') diff --git a/src/core/main.c b/src/core/main.c index 4e141762..39405127 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -421,18 +421,9 @@ main (int argc, char **argv) guint i; GIOChannel *channel; -#if GLIB_CHECK_VERSION (2, 32, 0) - /* g_thread_init () deprecated */ -#else - if (!g_thread_supported ()) - g_thread_init (NULL); -#endif - if (setlocale (LC_ALL, "") == NULL) meta_warning ("Locale not understood by C library, internationalization will not work\n"); - g_type_init (); - sigemptyset (&empty_mask); act.sa_handler = SIG_IGN; act.sa_mask = empty_mask; -- cgit v1.2.1