[gedit-plugins] Silence the new GTK+ deprecations as we cannot fix them now



commit 323964a5ea1e519df732e448eb88f3705b39d54a
Author: Garrett Regier <garrettregier gmail com>
Date:   Mon Jul 1 11:46:54 2013 -0700

    Silence the new GTK+ deprecations as we cannot fix them now
    
    Many APIs which gedit requires are now deprecated.

 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e8c80ab..c6e8422 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,7 +66,7 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
 PKG_CHECK_MODULES(GEDIT, [
        glib-2.0 >= 2.32.0
        gio-2.0 >= 2.32.0
-       gtk+-3.0 >= 3.4.0
+       gtk+-3.0 >= 3.9.0
        gtksourceview-3.0 >= 3.9.2
        libpeas-1.0 >= 1.7.0
        libpeas-gtk-1.0 >= 1.7.0
@@ -304,6 +304,8 @@ AC_SUBST([BUILD_PLUGINS],[$PLUGINS])
 AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources)
 AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
 
+AC_DEFINE(GDK_VERSION_MIN_REQUIRED, GDK_VERSION_3_8, [minimum gdk version])
+
 YELP_HELP_INIT
 
 AC_ARG_ENABLE(deprecations,


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