--- a/loudmouth/lm-connection.c Mon Jan 21 14:52:25 2013 +0200
+++ b/loudmouth/lm-connection.c Thu Oct 24 21:48:41 2013 +0200
@@ -1175,7 +1175,9 @@
LmConnection *connection;
gint i;
+#if !GLIB_CHECK_VERSION(2, 35, 0)
g_type_init (); /* Ensure that the GLib type library is initialized */
+#endif
lm_debug_init ();
_lm_sock_library_init ();
--- a/loudmouth/test-dns.c Mon Jan 21 14:52:25 2013 +0200
+++ b/loudmouth/test-dns.c Thu Oct 24 21:48:41 2013 +0200
@@ -40,7 +40,9 @@
#endif
LmResolver *srv_resolver;
+#if !GLIB_CHECK_VERSION(2, 35, 0)
g_type_init ();
+#endif
#if 0
resolver = lm_resolver_new_for_host ("kenny.imendio.com",
resolver_result_cb,