From 3d0d92957b38b381db624d70bc64d26dd1086f43 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 29 Oct 2024 13:35:50 -0300 Subject: [PATCH] project: Bump minimum GLib version to 2.72 This is available in Ubuntu 22.04, let's use it. --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 8189bd3e2..6a571978f 100644 --- a/meson.build +++ b/meson.build @@ -106,7 +106,7 @@ foreach h : check_headers config_h.set(h.get(1), cc.has_header(h.get(0))) endforeach -glib_dep = dependency('glib-2.0', version: '>= 2.66') +glib_dep = dependency('glib-2.0', version: '>= 2.72') gio_dep = dependency('gio-2.0') gio_unix_dep = dependency('gio-unix-2.0') json_glib_dep = dependency('json-glib-1.0') @@ -160,7 +160,7 @@ if have_libsystemd config_h.set('HAVE_LIBSYSTEMD', 1) endif -add_project_arguments(['-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66'], language: 'c') +add_project_arguments(['-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_72'], language: 'c') build_documentation = false gdbus_codegen = find_program('gdbus-codegen', native: true, required: get_option('documentation'))