[gcr/wip/nielsdg/autoptr-funcs: 1/4] build: Bump minimal GLib version to 2.44



commit 261901ebbed24bab0f92263dfa7d1d440a8da235
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Mon Jan 6 20:11:36 2020 +0100

    build: Bump minimal GLib version to 2.44
    
    GLib 2.44 adds `G_DEFINE_AUTOPTR_CLEANUP_FUNC` and
    `G_DECLARE_FINAL_TYPE` which we can use to cleanup the codebase and to
    let others use our types with `g_autoptr()`.

 configure.ac | 2 +-
 meson.build  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 22ecdb9..5a8e01e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,7 +11,7 @@ AC_INIT([gcr], [gcr_major.gcr_minor.gcr_micro],
 dnl ****************************************************************************
 dnl Dependency versions
 
-GLIB_REQ=2.38.0
+GLIB_REQ=2.44.0
 GLIB_MIN=GLIB_VERSION_2_38
 GLIB_MAX=GLIB_VERSION_2_38
 
diff --git a/meson.build b/meson.build
index 7a91ac7..96bf0f4 100644
--- a/meson.build
+++ b/meson.build
@@ -33,7 +33,7 @@ libexecbindir = gcr_prefix / get_option('libexecdir') / meson.project_name()
 podir = source_root / 'po'
 
 # Dependencies
-min_glib_version = '2.38'
+min_glib_version = '2.44'
 glib_dep = dependency('glib-2.0', version: '>=' + min_glib_version)
 gmodule_dep = dependency('gmodule-no-export-2.0', version: '>=' + min_glib_version)
 gthread_dep = dependency('gthread-2.0', version: '>=' + min_glib_version)


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