[gupnp-av/wip/last-change: 2/4] Silence deprecation warning



commit cbb3dc16fd0878e4af9ca26e2d866841fa630896
Author: Jens Georg <mail jensge org>
Date:   Thu Nov 29 14:08:51 2012 +0100

    Silence deprecation warning

 tests/gtest/test-media-collection.c |    2 ++
 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",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]