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




commit 6ff47626282dfbeb74129912a9f658a293ba7825
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]