summaryrefslogtreecommitdiff
path: root/tests
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 /tests
parent1b7be3c70417467c424d024dd569d07d441b5362 (diff)
downloadgupnp-dlna-78460aaafc1c235993aab724573d705470e82b23.tar.gz
Remove unnecessary version checks
Diffstat (limited to 'tests')
-rw-r--r--tests/old/dlna-encoding.c4
-rw-r--r--tests/old/dlna-profile-parser.c4
2 files changed, 0 insertions, 8 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 ());