summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-10-26 19:30:00 -0400
committerDan Winship <danw@gnome.org>2011-10-26 19:30:00 -0400
commitc71df90b37f72975985e1f1aac586ca9df03c81c (patch)
treef7bd0ff7f1eff067e780b02ba08f52558350ee77
parent04e63d75ba402ef28c83f9a8ddef4e08a92a51d3 (diff)
downloadlibsoup-c71df90b37f72975985e1f1aac586ca9df03c81c.tar.gz
remove unnecessary libgthread references
-rw-r--r--configure.ac2
-rw-r--r--tests/dns.c1
-rw-r--r--tests/get.c1
-rw-r--r--tests/getbug.c1
-rw-r--r--tests/simple-httpd.c1
-rw-r--r--tests/simple-proxy.c1
-rw-r--r--tests/test-utils.c1
7 files changed, 1 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index 3c5a608c..443f3008 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,7 +72,7 @@ dnl ***********************
dnl *** Checks for glib ***
dnl ***********************
-AM_PATH_GLIB_2_0(2.30.0,,,gobject gthread gio)
+AM_PATH_GLIB_2_0(2.30.0,,,gobject gio)
if test "$GLIB_LIBS" = ""; then
AC_MSG_ERROR(GLIB 2.30.0 or later is required to build libsoup)
fi
diff --git a/tests/dns.c b/tests/dns.c
index 6c448009..1751cfbc 100644
--- a/tests/dns.c
+++ b/tests/dns.c
@@ -43,7 +43,6 @@ main (int argc, char **argv)
if (argc < 2)
usage ();
- g_thread_init (NULL);
g_type_init ();
for (i = 1; i < argc; i++) {
diff --git a/tests/get.c b/tests/get.c
index 1a6b4ff4..a226e310 100644
--- a/tests/get.c
+++ b/tests/get.c
@@ -108,7 +108,6 @@ main (int argc, char **argv)
gboolean synchronous = FALSE;
int opt;
- g_thread_init (NULL);
g_type_init ();
method = SOUP_METHOD_GET;
diff --git a/tests/getbug.c b/tests/getbug.c
index 86ae3042..c1bd566e 100644
--- a/tests/getbug.c
+++ b/tests/getbug.c
@@ -95,7 +95,6 @@ main (int argc, char **argv)
const char *uri = "http://bugzilla.redhat.com/bugzilla/xmlrpc.cgi";
int opt, bug;
- g_thread_init (NULL);
g_type_init ();
while ((opt = getopt (argc, argv, "p:")) != -1) {
diff --git a/tests/simple-httpd.c b/tests/simple-httpd.c
index b63ad04a..c776d369 100644
--- a/tests/simple-httpd.c
+++ b/tests/simple-httpd.c
@@ -264,7 +264,6 @@ main (int argc, char **argv)
int ssl_port = SOUP_ADDRESS_ANY_PORT;
const char *ssl_cert_file = NULL, *ssl_key_file = NULL;
- g_thread_init (NULL);
g_type_init ();
signal (SIGINT, quit);
diff --git a/tests/simple-proxy.c b/tests/simple-proxy.c
index 0101b63f..52c2412b 100644
--- a/tests/simple-proxy.c
+++ b/tests/simple-proxy.c
@@ -139,7 +139,6 @@ main (int argc, char **argv)
int port = SOUP_ADDRESS_ANY_PORT;
SoupAuthDomain *auth_domain = NULL;
- g_thread_init (NULL);
g_type_init ();
signal (SIGINT, quit);
diff --git a/tests/test-utils.c b/tests/test-utils.c
index 4039b042..05eaba0a 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -81,7 +81,6 @@ test_init (int argc, char **argv, GOptionEntry *entries)
GError *error = NULL;
GTlsBackend *tls_backend;
- g_thread_init (NULL);
g_type_init ();
name = strrchr (argv[0], '/');