[gnome-notes] build: Fix compilation warnings
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-notes] build: Fix compilation warnings
- Date: Thu, 25 Feb 2021 11:08:40 +0000 (UTC)
commit af719dbdd31828857364e2302ae47d63de6d62da
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Wed Jan 27 12:54:57 2021 +0530
build: Fix compilation warnings
GTimeVal has been deprecated since 2.62.
Set GLIB_VERSION_MIN_REQUIRED to GLIB_VERSION_2_54 (which
is the version we depend on later with dependency())
meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 3286b64..f542209 100644
--- a/meson.build
+++ b/meson.build
@@ -54,7 +54,8 @@ endforeach
common_flags = [
'-DHAVE_CONFIG_H',
'-DDATADIR="@0@"'.format(bijiben_datadir),
- '-DPACKAGE_LOCALE_DIR="@0@"'.format(bijiben_localedir)
+ '-DPACKAGE_LOCALE_DIR="@0@"'.format(bijiben_localedir),
+ '-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_54',
]
if get_option('buildtype').contains('debug')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]