[epiphany/pgriffis/glib-versions: 4/4] build: Set GLIB_VERSION_MAX_ALLOWED




commit 1223423087426962f5f5888aaef47af72601842f
Author: Patrick Griffis <pgriffis igalia com>
Date:   Sat Jul 9 11:38:39 2022 -0500

    build: Set GLIB_VERSION_MAX_ALLOWED
    
    This warns when we use too new of API which is helpful.
    
    Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1168>

 meson.build | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/meson.build b/meson.build
index d169747d2..9d0d40364 100644
--- a/meson.build
+++ b/meson.build
@@ -78,6 +78,9 @@ gtk_requirement = '>= 3.24.0'
 nettle_requirement = '>= 3.4'
 webkitgtk_requirement = '>= 2.33.2'
 
+conf.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_68')
+conf.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_68')
+
 cairo_dep = dependency('cairo', version: '>= 1.2')
 gcr_dep = dependency('gcr-3', version: '>= 3.5.5')
 gdk_pixbuf_dep = dependency('gdk-pixbuf-2.0', version: '>= 2.36.5')


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