summaryrefslogtreecommitdiff
path: root/tests/lastfm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lastfm.c')
-rw-r--r--tests/lastfm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lastfm.c b/tests/lastfm.c
index ab86575..4b281ae 100644
--- a/tests/lastfm.c
+++ b/tests/lastfm.c
@@ -37,7 +37,9 @@ main (int argc, char **argv)
RestXmlParser *parser;
RestXmlNode *root, *u_node, *node;
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
/* Create the proxy */
proxy = lastfm_proxy_new (API_KEY, SECRET);