aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-11-06 21:18:47 +0800
committerXan Lopez <xlopez@igalia.com>2011-11-06 21:18:47 +0800
commitb867105b1f4e0d60496266c9dc80d4f2926b78f7 (patch)
tree7c86db5bfd60d6b016ad921188c6cd49914d170b
parent54f4c695ea937cbd16a2bbad1d0a67b33fc3d87a (diff)
downloadgsoc2013-epiphany-b867105b1f4e0d60496266c9dc80d4f2926b78f7.tar
gsoc2013-epiphany-b867105b1f4e0d60496266c9dc80d4f2926b78f7.tar.gz
gsoc2013-epiphany-b867105b1f4e0d60496266c9dc80d4f2926b78f7.tar.bz2
gsoc2013-epiphany-b867105b1f4e0d60496266c9dc80d4f2926b78f7.tar.lz
gsoc2013-epiphany-b867105b1f4e0d60496266c9dc80d4f2926b78f7.tar.xz
gsoc2013-epiphany-b867105b1f4e0d60496266c9dc80d4f2926b78f7.tar.zst
gsoc2013-epiphany-b867105b1f4e0d60496266c9dc80d4f2926b78f7.zip
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 ();