[nautilus/wip/antoniof/gtk4-preparation-miscellaneous: 1/7] meson.build: Use environment to make warnings fatal



commit 7365c56bf3248b48d1384d7a3bfc7206ddcc97ab
Author: Ernestas Kulik <ekulik redhat com>
Date:   Sun Feb 10 08:32:33 2019 +0100

    meson.build: Use environment to make warnings fatal
    
    --g-fatal-warnings no longer exists in GTK 4.

 src/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/meson.build b/src/meson.build
index 39e0b0370..f1948160b 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -324,9 +324,9 @@ if get_option('tests') == 'all'
     'nautilus', nautilus,
     args: [
       '--check',
-      '--g-fatal-warnings'
     ],
     env: [
+      'G_DEBUG=fatal-warnings',
       'GSETTINGS_SCHEMA_DIR=@0@'.format(join_paths(meson.build_root(), 'data'))
     ]
   )


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