[grilo-mediaserver2] g_type_init() is deprecated



commit 83847d6a139122fdb42cbe7df98c4d4dc1493d5f
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Tue Dec 4 12:14:38 2012 +0100

    g_type_init() is deprecated
    
    For glib >= 2.35.0
    
    This fixes https://bugzilla.gnome.org/show_bug.cgi?id=689578

 src/test-client.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/test-client.c b/src/test-client.c
index 58362b7..68e9c9f 100644
--- a/src/test-client.c
+++ b/src/test-client.c
@@ -424,7 +424,9 @@ int main (int argc, char **argv)
 {
   GMainLoop *mainloop;
 
+#if !GLIB_CHECK_VERSION(2,35,0)
   g_type_init ();
+#endif
 
   if (1) test_properties ();
   if (0) test_properties_async ();



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