[libgxps/wip/topush: 1/9] Bump glib to version 2.36 and avoid the usage of g_type_init



commit 376ecee28def6c5f2f86a77debd039127a52d001
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date:   Fri Sep 9 10:26:04 2016 +0200

    Bump glib to version 2.36 and avoid the usage of g_type_init
    
    This method is deprecated since that version.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771057

 configure.ac                |    2 +-
 tools/gxps-converter-main.c |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bd0556a..8b826b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,7 @@ fi
 AC_SUBST(GXPS_DEBUG_CFLAGS)
 
 dnl Specify required versions of dependencies
-GLIB_REQUIRED=2.24
+GLIB_REQUIRED=2.36
 CAIRO_REQUIRED=1.10.0
 LIBARCHIVE_REQUIRED=2.8.0
 
diff --git a/tools/gxps-converter-main.c b/tools/gxps-converter-main.c
index 7a7269c..2cf9d3e 100644
--- a/tools/gxps-converter-main.c
+++ b/tools/gxps-converter-main.c
@@ -29,8 +29,6 @@ gint main (gint argc, gchar **argv)
 
         setlocale (LC_ALL, "");
 
-        g_type_init ();
-
         converter = GXPS_CONVERTER (g_object_new (CONVERTER_TYPE, NULL));
 
         if (!gxps_converter_init_with_args (converter, &argc, &argv)) {


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