[gnome-documents] miner: don't call g_type_init()
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] miner: don't call g_type_init()
- Date: Mon, 14 Jan 2013 22:51:44 +0000 (UTC)
commit 6b4e9e9baf291e0d8c458a72c94a3e35c1aac04b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Jan 14 11:46:38 2013 -0500
miner: don't call g_type_init()
It's deprecated. Bump the GLib required version to 2.35.1 for this.
configure.ac | 2 +-
src/miner/miner-main.c | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 37276da..a65d6c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,7 +50,7 @@ AC_CHECK_LIBM
AC_SUBST(LIBM)
EVINCE_MIN_VERSION=3.7.4
-GLIB_MIN_VERSION=2.31.6
+GLIB_MIN_VERSION=2.35.1
GTK_MIN_VERSION=3.5.5
GOBJECT_INTROSPECTION_MIN_VERSION=1.31.6
GDATA_MIN_VERSION=0.13.1
diff --git a/src/miner/miner-main.c b/src/miner/miner-main.c
index d9431c7..43ca2e7 100644
--- a/src/miner/miner-main.c
+++ b/src/miner/miner-main.c
@@ -236,8 +236,6 @@ int
main (int argc,
char **argv)
{
- g_type_init ();
-
ensure_autoquit_on ();
loop = g_main_loop_new (NULL, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]