[libgxps/wip/nacho/visibility: 7/13] Bump glib to version 2.36 and avoid the usage of g_type_init
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgxps/wip/nacho/visibility: 7/13] Bump glib to version 2.36 and avoid the usage of g_type_init
- Date: Fri, 9 Sep 2016 13:39:16 +0000 (UTC)
commit 2fb74a082e572bed2485add9f17a140bd16913af
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 8fa83e2..7adc4a7 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=3.0.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]