[folks/wip/nielsdg/fix-warnings: 4/5] tests/telepathy: Don't call g_type_init()



commit f562a201e89f28875040338f906f8ec4940c49e0
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Tue Apr 23 18:40:26 2019 +0200

    tests/telepathy: Don't call g_type_init()
    
    This was deprecated a long time ago (since GLib 2.36) and no longer does
    anything. Fixes a deprecation warning.

 tests/lib/telepathy/contactlist/util.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/tests/lib/telepathy/contactlist/util.c b/tests/lib/telepathy/contactlist/util.c
index 21d38550..48968975 100644
--- a/tests/lib/telepathy/contactlist/util.c
+++ b/tests/lib/telepathy/contactlist/util.c
@@ -299,7 +299,6 @@ void
 tp_tests_init (int *argc,
     char ***argv)
 {
-  g_type_init ();
   tp_tests_abort_after (10);
   tp_debug_set_flags ("all");
 


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