summaryrefslogtreecommitdiff
path: root/examples/lastfm-shout.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lastfm-shout.c')
-rw-r--r--examples/lastfm-shout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/lastfm-shout.c b/examples/lastfm-shout.c
index f1e5f69..02894a4 100644
--- a/examples/lastfm-shout.c
+++ b/examples/lastfm-shout.c
@@ -87,7 +87,9 @@ main (int argc, char **argv)
{ NULL }
};
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
context = g_option_context_new ("- send a shout to a Last.fm user");
g_option_context_add_main_entries (context, entries, NULL);