[nautilus] meson.build: Disable GLib deprecation warnings
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] meson.build: Disable GLib deprecation warnings
- Date: Sun, 2 Jun 2019 09:33:03 +0000 (UTC)
commit 7605b17b2757fa3331f2551c04208e833cd723e1
Author: Ernestas Kulik <ekulik redhat com>
Date: Sun Jun 2 11:32:31 2019 +0200
meson.build: Disable GLib deprecation warnings
meson.build | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/meson.build b/meson.build
index 156ae8609..70e41043b 100644
--- a/meson.build
+++ b/meson.build
@@ -34,6 +34,13 @@ cc = meson.get_compiler('c')
# End compilers #
#################
+add_global_arguments(
+ cc.get_supported_arguments([
+ '-DGLIB_DISABLE_DEPRECATION_WARNINGS',
+ ]),
+ language: 'c',
+)
+
add_project_arguments(
cc.get_supported_arguments([
'-Wall',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]