[NetworkManager-openconnect/lr/gtk-4.0: 5/13] build: bump Gtk3 requirement to 3.12




commit 1e000943116c4dd9533528f4e74419b2931e8e16
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Tue Oct 26 09:18:58 2021 +0200

    build: bump Gtk3 requirement to 3.12
    
    We're using gtk_widget_set_margin_start() that was introduced in 3.12
    since 2016. It's safe to assume everyone has it.

 configure.ac | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 369aaef..d5a41bc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -104,8 +104,9 @@ GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_34"
 PKG_CHECK_MODULES(LIBXML, libxml-2.0)
 
 if test x"$with_gnome" != xno; then
-       PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.4)
-       GTK_CFLAGS="$GTK_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_4"
+       PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.12)
+       GTK_CFLAGS="$GTK_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_12"
+       GTK_CFLAGS="$GTK_CFLAGS -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_12"
        
        PKG_CHECK_MODULES(GCR, gcr-3 >= 3.4)
        GCR_CFLAGS="$GCR_CFLAGS -DGCR_API_SUBJECT_TO_CHANGE"


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