summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <jensg@openismus.com>2021-07-04 08:32:27 +0200
committerJens Georg <jensg@openismus.com>2021-07-04 08:32:27 +0200
commit78460aaafc1c235993aab724573d705470e82b23 (patch)
treef12608bc9ba898a7130dbc8e2ea414b6440086e6
parent1b7be3c70417467c424d024dd569d07d441b5362 (diff)
downloadgupnp-dlna-78460aaafc1c235993aab724573d705470e82b23.tar.gz
Remove unnecessary version checks
-rw-r--r--tests/old/dlna-encoding.c4
-rw-r--r--tests/old/dlna-profile-parser.c4
-rw-r--r--tools/gupnp-dlna-info.c4
-rw-r--r--tools/gupnp-dlna-ls-profiles.c4
4 files changed, 0 insertions, 16 deletions
diff --git a/tests/old/dlna-encoding.c b/tests/old/dlna-encoding.c
index 6d29bd8..8a05884 100644
--- a/tests/old/dlna-encoding.c
+++ b/tests/old/dlna-encoding.c
@@ -205,10 +205,6 @@ main (int argc, char **argv)
GUPnPDLNAProfile *profile;
gchar *inputuri;
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
-
ctx = g_option_context_new ("- encode URIs with GstProfile and encodebin");
g_option_context_add_main_entries (ctx, options, NULL);
g_option_context_add_group (ctx, gst_init_get_option_group ());
diff --git a/tests/old/dlna-profile-parser.c b/tests/old/dlna-profile-parser.c
index a30bba1..20753b4 100644
--- a/tests/old/dlna-profile-parser.c
+++ b/tests/old/dlna-profile-parser.c
@@ -104,10 +104,6 @@ main (int argc, char **argv)
GOptionContext *ctx;
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
-
ctx = g_option_context_new (" - test to parse dlna profiles");
g_option_context_add_main_entries (ctx, options, NULL);
g_option_context_add_group (ctx, gst_init_get_option_group ());
diff --git a/tools/gupnp-dlna-info.c b/tools/gupnp-dlna-info.c
index 18a45b2..3287a72 100644
--- a/tools/gupnp-dlna-info.c
+++ b/tools/gupnp-dlna-info.c
@@ -246,10 +246,6 @@ main (int argc,
GOptionContext *ctx;
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
-
setlocale (LC_ALL, "");
ctx = g_option_context_new (" - program to extract DLNA and related metadata");
diff --git a/tools/gupnp-dlna-ls-profiles.c b/tools/gupnp-dlna-ls-profiles.c
index 74d1315..980ffc6 100644
--- a/tools/gupnp-dlna-ls-profiles.c
+++ b/tools/gupnp-dlna-ls-profiles.c
@@ -62,10 +62,6 @@ main (int argc, char **argv)
GOptionContext *ctx;
-#if !GLIB_CHECK_VERSION(2,35,0)
- g_type_init ();
-#endif
-
setlocale (LC_ALL, "");
ctx = g_option_context_new (" - program to list all the DLNA profiles supported by gupnp-dlna");