[gedit] Remove explicit gthread initialization



commit 460ab4ff4c850f66cc80c0218d940047b13eb0c7
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Nov 19 12:12:14 2011 +0100

    Remove explicit gthread initialization
    
    Newer glib does not need explicit gthread initialization.

 configure.ac  |    1 -
 gedit/gedit.c |    3 ---
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 100e42f..ad0519e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -322,7 +322,6 @@ dnl ================================================================
 PKG_CHECK_MODULES(GEDIT, [
 	libxml-2.0 >= 2.5.0
 	glib-2.0 >= 2.28.0
-	gthread-2.0 >= 2.13.0
 	gio-2.0 >= 2.26.0
 	gtk+-3.0 >= 3.1.6
 	gtksourceview-3.0 >= 3.0.0
diff --git a/gedit/gedit.c b/gedit/gedit.c
index e4caec4..7b152a9 100644
--- a/gedit/gedit.c
+++ b/gedit/gedit.c
@@ -227,9 +227,6 @@ main (int argc, char *argv[])
 	/* Init type system as soon as possible */
 	g_type_init ();
 
-	/* Init glib threads asap */
-	g_thread_init (NULL);
-
 	/* Setup debugging */
 	gedit_debug_init ();
 	gedit_debug_message (DEBUG_APP, "Startup");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]