diff options
author | Jens Georg <mail@jensge.org> | 2021-07-04 00:13:01 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2021-07-04 00:42:26 +0200 |
commit | 46c9055c25fb486dea4d0d4c0b96cdc13e31f512 (patch) | |
tree | 726d869b13d49fd36322d8723f12c4ed1abdabca /tests | |
parent | f854735bc63aed437445f8ff757a353e3cd01a3f (diff) | |
download | gupnp-av-46c9055c25fb486dea4d0d4c0b96cdc13e31f512.tar.gz |
Remove obsolete version check
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check-search.c | 4 | ||||
-rw-r--r-- | tests/fragments.c | 3 | ||||
-rw-r--r-- | tests/gtest/test-cds-last-change-parser.c | 3 | ||||
-rw-r--r-- | tests/gtest/test-didl-lite-object.c | 3 | ||||
-rw-r--r-- | tests/gtest/test-last-change-parser.c | 3 | ||||
-rw-r--r-- | tests/gtest/test-media-collection.c | 3 | ||||
-rw-r--r-- | tests/gtest/test-regression.c | 3 |
7 files changed, 0 insertions, 22 deletions
diff --git a/tests/check-search.c b/tests/check-search.c index 2724f30..400ba45 100644 --- a/tests/check-search.c +++ b/tests/check-search.c @@ -24,10 +24,6 @@ main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv) GError *error; guint i; -#if !GLIB_CHECK_VERSION (2, 35, 0) - g_type_init (); -#endif - parser = gupnp_search_criteria_parser_new (); for (i = 0; i < G_N_ELEMENTS (searches); i++) { diff --git a/tests/fragments.c b/tests/fragments.c index 164ae6b..9782e3d 100644 --- a/tests/fragments.c +++ b/tests/fragments.c @@ -119,9 +119,6 @@ int main (void) GList* artists; GUPnPDIDLLiteContributor *artist; -#if !GLIB_CHECK_VERSION (2, 35, 0) - g_type_init (); -#endif g_setenv ("GUPNP_AV_DATADIR", ABS_TOP_SRCDIR G_DIR_SEPARATOR_S "data", FALSE); writer = gupnp_didl_lite_writer_new (NULL); diff --git a/tests/gtest/test-cds-last-change-parser.c b/tests/gtest/test-cds-last-change-parser.c index b1fd489..52f9fc4 100644 --- a/tests/gtest/test-cds-last-change-parser.c +++ b/tests/gtest/test-cds-last-change-parser.c @@ -473,9 +473,6 @@ test_parse_spec_samples (void) int main (int argc, char *argv[]) { -#if !GLIB_CHECK_VERSION (2, 35, 0) - g_type_init (); -#endif g_test_init (&argc, &argv, NULL); g_test_add_func ("/cds-last-change/parse-spec-samples", diff --git a/tests/gtest/test-didl-lite-object.c b/tests/gtest/test-didl-lite-object.c index 0a9b5ee..62b6cac 100644 --- a/tests/gtest/test-didl-lite-object.c +++ b/tests/gtest/test-didl-lite-object.c @@ -35,9 +35,6 @@ namespace_getters (void) int main (int argc, char **argv) { -#if !GLIB_CHECK_VERSION (2, 35, 0) - g_type_init (); -#endif g_test_init (&argc, &argv, NULL); g_test_add_func ("/didl-lite-object/namespace-getters", namespace_getters); diff --git a/tests/gtest/test-last-change-parser.c b/tests/gtest/test-last-change-parser.c index d4875a2..22fbfa4 100644 --- a/tests/gtest/test-last-change-parser.c +++ b/tests/gtest/test-last-change-parser.c @@ -229,9 +229,6 @@ two_mutes (void) int main (int argc, char **argv) { -#if !GLIB_CHECK_VERSION (2, 35, 0) - g_type_init (); -#endif g_test_init (&argc, &argv, NULL); g_test_add_func ("/last-change-parser/general", general); diff --git a/tests/gtest/test-media-collection.c b/tests/gtest/test-media-collection.c index d4294fe..c4755b3 100644 --- a/tests/gtest/test-media-collection.c +++ b/tests/gtest/test-media-collection.c @@ -457,9 +457,6 @@ test_didl_collection_create_reparent (void) int main (int argc, char *argv[]) { -#if !GLIB_CHECK_VERSION (2, 35, 0) - g_type_init (); -#endif g_test_init (&argc, &argv, NULL); g_test_add_func ("/didl/collection/construction", diff --git a/tests/gtest/test-regression.c b/tests/gtest/test-regression.c index 130296c..93736fb 100644 --- a/tests/gtest/test-regression.c +++ b/tests/gtest/test-regression.c @@ -195,9 +195,6 @@ test_bgo770174 (void) int main (int argc, char *argv[]) { -#if !GLIB_CHECK_VERSION (2, 35, 0) - g_type_init (); -#endif g_test_init (&argc, &argv, NULL); g_test_add_func ("/bugs/gnome/674319", test_bgo674319); |