[nautilus/wip/antoniof/gtk4-preparation-drop-outgoing-api: 30/49] meson.build: Use environment to make warnings fatal




commit 43848d90a483c2ffa6b3eb0dc38c25bf3c65f5a0
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]