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




commit 83b06aca8a4d8da8955488f6a103c460974e5b8a
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]