[geocode-glib] tests: Drop unnecessary g_type_init() call



commit 2c131450eb0343581ee80df2df5a4f89f158b6d0
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Mon Nov 14 15:43:19 2016 +0000

    tests: Drop unnecessary g_type_init() call
    
    We now depend on a more recent version of GLib than the one which
    deprecated it, so we can drop the call entirely.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774631

 geocode-glib/tests/geocode-glib.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/geocode-glib/tests/geocode-glib.c b/geocode-glib/tests/geocode-glib.c
index 97c0fd0..d3ddb8c 100644
--- a/geocode-glib/tests/geocode-glib.c
+++ b/geocode-glib/tests/geocode-glib.c
@@ -890,9 +890,6 @@ int main (int argc, char **argv)
        };
 
        setlocale (LC_ALL, "");
-#if (!GLIB_CHECK_VERSION (2, 36, 0))
-       g_type_init ();
-#endif
        g_test_init (&argc, &argv, NULL);
        g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=";);
 


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