summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <gkiagia@tolabaki.gr>2016-07-03 21:33:09 +0300
committerGeorge Kiagiadakis <gkiagia@tolabaki.gr>2016-07-04 17:31:59 +0300
commit0a3f87a744031943239b8925973114147ff95aae (patch)
tree3faf0c473d682d040d232b1c53673295dd0cd168 /tests
parentd54cde71584efcaf29dc76dff9125830929f5ad3 (diff)
Bump required glib version to 2.44, as we now depend on GIO http proxy
Since g_type_init() is deprecated in more recent glib versions, also remove all calls of it to fix compilation. g_type_init() is not necessary to be called anymore, it is a no-op. https://bugs.freedesktop.org/show_bug.cgi?id=94031 Reviewed-by: Diane Trout <diane@ghic.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/wocky-dummy-xmpp-server.c2
-rw-r--r--tests/wocky-test-helper.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/tests/wocky-dummy-xmpp-server.c b/tests/wocky-dummy-xmpp-server.c
index c1ffe1a..82a69d6 100644
--- a/tests/wocky-dummy-xmpp-server.c
+++ b/tests/wocky-dummy-xmpp-server.c
@@ -83,8 +83,6 @@ main (int argc,
memset (&server, 0, sizeof (server));
- g_type_init ();
-
loop = g_main_loop_new (NULL, FALSE);
server.sin_family = AF_INET;
diff --git a/tests/wocky-test-helper.c b/tests/wocky-test-helper.c
index f7148e5..86af79b 100644
--- a/tests/wocky-test-helper.c
+++ b/tests/wocky-test-helper.c
@@ -296,7 +296,6 @@ test_init (int argc,
{
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugs.freedesktop.org/show_bug.cgi?id=");
- g_type_init ();
wocky_init ();
}