[libsoup] remove unnecessary libgthread references



commit c71df90b37f72975985e1f1aac586ca9df03c81c
Author: Dan Winship <danw gnome org>
Date:   Wed Oct 26 19:30:00 2011 -0400

    remove unnecessary libgthread references

 configure.ac         |    2 +-
 tests/dns.c          |    1 -
 tests/get.c          |    1 -
 tests/getbug.c       |    1 -
 tests/simple-httpd.c |    1 -
 tests/simple-proxy.c |    1 -
 tests/test-utils.c   |    1 -
 7 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3c5a608..443f300 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 6c44800..1751cfb 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 1a6b4ff..a226e31 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 86ae304..c1bd566 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 b63ad04..c776d36 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 0101b63..52c2412 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 4039b04..05eaba0 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], '/');



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