[gnome-bluetooth] configure: require Gtk 3.11.2



commit 454fc518f05eefdc49d71191a514d62565c8e02d
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Thu Jan 16 01:36:33 2014 +0100

    configure: require Gtk 3.11.2
    
    bluetooth-settings-widget and bluetooth-settings-row both use
    GtkListBoxRow, which was first introduced in GTK 3.9.4.
    But since 4b2c4fd253bc49d2a, gtk_widget_set_margin_{start,end}
    are also used, which means we need to depend on 3.11.2.
    
    The variable $GTK_REQUIRED was actually not used in this file
    so we need to change the PKG_CHECK_MODULES line to use it too.
    
    Approved by Bastien Nocera <hadess hadess net> in IRC.
    https://bugzilla.gnome.org/show_bug.cgi?id=722328

 configure.ac |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1bbb2a1..5933c1f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,7 +70,7 @@ if (test "$enable_icon_update" != no); then
 fi
 AM_CONDITIONAL([ICON_UPDATE], [test -n "$UPDATE_ICON_CACHE"])
 
-GTK_REQUIRED=2.91.3
+GTK_REQUIRED=3.11.2
 GLIB_REQUIRED=2.36.0
 NOTIFY_REQUIRED=0.7.0
 NAUTILUS_SENDTO_REQUIRED=2.29.0
@@ -88,7 +88,11 @@ dnl Requires for the input helper
 PKG_CHECK_MODULES(INPUT, gdk-3.0 gtk+-3.0)
 
 dnl Requires for the public library
-PKG_CHECK_MODULES(LIBGNOMEBT, gmodule-2.0 gio-unix-2.0 gtk+-3.0 libudev)
+PKG_CHECK_MODULES(LIBGNOMEBT,
+       gmodule-2.0
+       gio-unix-2.0
+       gtk+-3.0 >= $GTK_REQUIRED
+       libudev)
 
 GDBUS_CODEGEN="gdbus-codegen"
 AC_SUBST(GDBUS_CODEGEN)


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