summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-11-06 14:18:47 +0100
committerXan Lopez <xlopez@igalia.com>2011-11-06 14:18:47 +0100
commitb867105b1f4e0d60496266c9dc80d4f2926b78f7 (patch)
tree7c86db5bfd60d6b016ad921188c6cd49914d170b
parent54f4c695ea937cbd16a2bbad1d0a67b33fc3d87a (diff)
downloadepiphany-b867105b1f4e0d60496266c9dc80d4f2926b78f7.tar.gz
Remove g_thread_init calls
They are not needed anymore.
-rw-r--r--src/ephy-main.c3
-rw-r--r--tests/ephy-download.c1
-rw-r--r--tests/ephy-embed-single.c1
3 files changed, 0 insertions, 5 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c
index dfa682bd6..196dc4c3a 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 94445feaf..6737123f1 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 555723c2a..8a90c12a7 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 ();