remove unnecessary libgthread references
authorDan Winship <danw@gnome.org>
Wed, 26 Oct 2011 23:30:00 +0000 (19:30 -0400)
committerDan Winship <danw@gnome.org>
Wed, 26 Oct 2011 23:30:00 +0000 (19:30 -0400)
configure.ac
tests/dns.c
tests/get.c
tests/getbug.c
tests/simple-httpd.c
tests/simple-proxy.c
tests/test-utils.c

index 3c5a608..443f300 100644 (file)
@@ -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
index 6c44800..1751cfb 100644 (file)
@@ -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++) {
index 1a6b4ff..a226e31 100644 (file)
@@ -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;
index 86ae304..c1bd566 100644 (file)
@@ -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) {
index b63ad04..c776d36 100644 (file)
@@ -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);
 
index 0101b63..52c2412 100644 (file)
@@ -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);
 
index 4039b04..05eaba0 100644 (file)
@@ -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], '/');