summaryrefslogtreecommitdiff
path: root/examples/get-fireeagle-location.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/get-fireeagle-location.c')
-rw-r--r--examples/get-fireeagle-location.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/get-fireeagle-location.c b/examples/get-fireeagle-location.c
index 664f264..101aa75 100644
--- a/examples/get-fireeagle-location.c
+++ b/examples/get-fireeagle-location.c
@@ -34,7 +34,9 @@ main (int argc, char **argv)
RestXmlParser *parser;
RestXmlNode *root, *node;
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
/* Create the proxy */
proxy = oauth_proxy_new (/* Consumer Key */