From 6a13d1a9ee828d4a5364d89b566415a3467f4fcc Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 26 Oct 2011 15:28:35 -0400 Subject: Remove g_thread_init() calls. g_type_init() already calls it, and has for several GLib releases. --- shell/main.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'shell') diff --git a/shell/main.c b/shell/main.c index 5b76a2ed0b..4599b410cd 100644 --- a/shell/main.c +++ b/shell/main.c @@ -492,10 +492,6 @@ main (gint argc, textdomain (GETTEXT_PACKAGE); g_type_init (); - #if !GLIB_CHECK_VERSION(2,31,0) - if (!g_thread_get_initialized ()) - g_thread_init (NULL); - #endif /* do not require Gtk+ for --force-shutdown */ if (argc == 2 && argv[1] && g_str_equal (argv[1], "--force-shutdown")) { -- cgit v1.2.3