add SOUP_MAINTAINER_FLAGS here too.
authorDan Winship <danw@src.gnome.org>
Mon, 20 Oct 2008 15:06:16 +0000 (15:06 +0000)
committerDan Winship <danw@src.gnome.org>
Mon, 20 Oct 2008 15:06:16 +0000 (15:06 +0000)
* tests/Makefile.am (INCLUDES): add SOUP_MAINTAINER_FLAGS here
too.

* tests/dns.c (main):
* tests/getbug.c (main):
* tests/server-auth-test.c (do_test): replace deprecated glib
functions

svn path=/trunk/; revision=1184

ChangeLog
tests/Makefile.am
tests/dns.c
tests/getbug.c
tests/server-auth-test.c

index 7c4b57e..2b52658 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-10-20  Dan Winship  <danw@gnome.org>
+
+       * tests/Makefile.am (INCLUDES): add SOUP_MAINTAINER_FLAGS here
+       too.
+
+       * tests/dns.c (main):
+       * tests/getbug.c (main):
+       * tests/server-auth-test.c (do_test): replace deprecated glib
+       functions
+
 2008-10-20  Cosimo Cecchi  <cosimoc@gnome.org>
 
        * configure.in:
index ff06482..7b9fbfd 100644 (file)
@@ -2,6 +2,7 @@ INCLUDES =              \
        -I$(top_srcdir) \
        -DSRCDIR=\""$(srcdir)"\" \
        -DLIBSOUP_DISABLE_DEPRECATED \
+       $(SOUP_MAINTAINER_FLAGS) \
        $(XML_CFLAGS)   \
        $(GLIB_CFLAGS)  \
        $(LIBGNUTLS_CFLAGS)
index e93b0a4..d0101ee 100644 (file)
@@ -57,7 +57,7 @@ main (int argc, char **argv)
        }
 
        loop = g_main_loop_new (NULL, TRUE);
-       g_main_run (loop);
+       g_main_loop_run (loop);
        g_main_loop_unref (loop);
 
        return 0;
index 19021e4..86ae304 100644 (file)
@@ -76,7 +76,7 @@ got_response (SoupSession *session, SoupMessage *msg, gpointer user_data)
        g_hash_table_foreach (hash, print_struct_field, NULL);
        g_hash_table_destroy (hash);
 
-       g_main_quit (loop);
+       g_main_loop_quit (loop);
 }
 
 static void
@@ -141,7 +141,7 @@ main (int argc, char **argv)
                                    got_response, NULL);
 
        loop = g_main_loop_new (NULL, TRUE);
-       g_main_run (loop);
+       g_main_loop_run (loop);
        g_main_loop_unref (loop);
 
        return 0;
index af4ec61..51d40f4 100644 (file)
@@ -100,7 +100,7 @@ do_test (int n, SoupURI *base_uri, const char *path,
                g_child_watch_add (pid, curl_exited, &done);
 
                while (!done)
-                       g_main_iteration (TRUE);
+                       g_main_context_iteration (NULL, TRUE);
        } else
                test_data.succeeded = FALSE;
        g_ptr_array_free (args, TRUE);