[nautilus/wip/ernestask/gtk4-continued] meson.build: Use environment to make warnings fatal



commit b0e890911d77475d09dc91b8f0f97d7abebb9fa6
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 bb2388611..f440f030c 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -352,9 +352,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]