summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2012-11-29 14:08:51 +0100
committerJens Georg <mail@jensge.org>2012-11-29 14:34:04 +0100
commitcbb3dc16fd0878e4af9ca26e2d866841fa630896 (patch)
tree040007efe00dc894ed3fe0e75f81e224c880caad
parent3446e218188caaf698cb60d416999c79c6b9cdc1 (diff)
downloadgupnp-av-cbb3dc16fd0878e4af9ca26e2d866841fa630896.tar.gz
Silence deprecation warning
-rw-r--r--tests/gtest/test-media-collection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gtest/test-media-collection.c b/tests/gtest/test-media-collection.c
index e9abfd1..75daf17 100644
--- a/tests/gtest/test-media-collection.c
+++ b/tests/gtest/test-media-collection.c
@@ -468,7 +468,9 @@ test_didl_collection_create_reparent ()
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",