From 3f421f62a8ed581648b5e05666403f9c0c3437e0 Mon Sep 17 00:00:00 2001 From: Bruce Cowan <bruce@bcowan.me.uk> Date: Sat, 12 Feb 2022 13:25:15 +0000 Subject: [PATCH] Bump GLib requirement to minimum GTK 4.0 requires --- meson.build | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/meson.build b/meson.build index 8b09720..dc0b1df 100644 --- a/meson.build +++ b/meson.build @@ -17,7 +17,7 @@ datadir = get_option('datadir') gnome = import('gnome') -gio_dep = dependency('gio-2.0', version: '>= 2.46') +gio_dep = dependency('gio-2.0', version: '>= 2.66') gtk_dep = dependency('gtk4', version: '>= 4.0') conf = configuration_data() @@ -30,13 +30,12 @@ config_h = vcs_tag( output: 'config.h', ) -cflags = [] -cflags += ['-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_46', - '-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_46'] -cflags += ['-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_0', - '-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_4_0'] - -cflags += '-Wno-overlength-strings' +cflags = ['-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66', + '-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_66', + '-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_0', + '-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_4_0', + '-Wno-overlength-strings', +] cc = meson.get_compiler('c') -- GitLab