[discident-glib] ean: Require a newer glib



commit b8a7a68a7ee64dd69994c2abfb580fe20ddf5014
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Apr 2 23:53:44 2013 +0200

    ean: Require a newer glib
    
    Seeing as we require a new libsoup, require a newer GLib, and
    remove the g_type_init() call.

 configure.ac                 |    2 +-
 discident-glib/test-diglib.c |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d3bec50..4bd733e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,7 +54,7 @@ AC_DEFINE_UNQUOTED(LOCALEDIR, "${prefix}/share/locale", [Directory for the local
 
 dnl Requires for the library
 PKG_CHECK_MODULES(DISCIDENT,
-                 gio-2.0
+                 gio-2.0 >= 2.36
                  json-glib-1.0
                  libsoup-2.4 >= 2.42
                  libxml-2.0)
diff --git a/discident-glib/test-diglib.c b/discident-glib/test-diglib.c
index b2864e9..b00ad2a 100644
--- a/discident-glib/test-diglib.c
+++ b/discident-glib/test-diglib.c
@@ -298,7 +298,6 @@ int main (int argc, char **argv)
        guint i;
 
        setlocale (LC_ALL, "");
-       g_type_init ();
        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]