summaryrefslogtreecommitdiff
path: root/tools/gupnp-dlna-ls-profiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gupnp-dlna-ls-profiles.c')
-rw-r--r--tools/gupnp-dlna-ls-profiles.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gupnp-dlna-ls-profiles.c b/tools/gupnp-dlna-ls-profiles.c
index cb803fc..2df5cc8 100644
--- a/tools/gupnp-dlna-ls-profiles.c
+++ b/tools/gupnp-dlna-ls-profiles.c
@@ -103,7 +103,9 @@ main (int argc, char **argv)
GOptionContext *ctx;
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
ctx = g_option_context_new (" - program to list all the DLNA profiles supported by gupnp-dlna");
g_option_context_add_main_entries (ctx, options, NULL);