[epiphany] Remove g_thread_init calls



commit b867105b1f4e0d60496266c9dc80d4f2926b78f7
Author: Xan Lopez <xlopez igalia com>
Date:   Sun Nov 6 14:18:47 2011 +0100

    Remove g_thread_init calls
    
    They are not needed anymore.

 src/ephy-main.c           |    3 ---
 tests/ephy-download.c     |    1 -
 tests/ephy-embed-single.c |    1 -
 3 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/ephy-main.c b/src/ephy-main.c
index dfa682b..196dc4c 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -253,9 +253,6 @@ main (int argc,
   textdomain (GETTEXT_PACKAGE);
 #endif
 
-  /* Threads have to be initialised before calling ANY glib function */
-  g_thread_init (NULL);
-
   /* check libxml2 API version epiphany was compiled with against the
    * version we're running with.
    */
diff --git a/tests/ephy-download.c b/tests/ephy-download.c
index 94445fe..6737123 100644
--- a/tests/ephy-download.c
+++ b/tests/ephy-download.c
@@ -169,7 +169,6 @@ main (int argc, char *argv[])
   SoupServer *server;
 
   gtk_test_init (&argc, &argv);
-  g_thread_init (NULL);
 
   ephy_debug_init ();
   ephy_embed_prefs_init ();
diff --git a/tests/ephy-embed-single.c b/tests/ephy-embed-single.c
index 555723c..8a90c12 100644
--- a/tests/ephy-embed-single.c
+++ b/tests/ephy-embed-single.c
@@ -97,7 +97,6 @@ main (int argc, char *argv[])
   int ret;
 
   gtk_test_init (&argc, &argv);
-  g_thread_init (NULL);
 
   ephy_debug_init ();
   ephy_embed_prefs_init ();



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