[nautilus/wip/antoniof/gtk4-preparation-miscellaneous: 10/15] general: Use envar to make warnings fatal in scripts




commit 8c31d783ba3f7a93734875c2945a1215484dcbcd
Author: António Fernandes <antoniof gnome org>
Date:   Tue Aug 10 17:39:55 2021 +0100

    general: Use envar to make warnings fatal in scripts
    
    Same rationale as last commit.

 eel/check-eel      | 2 +-
 src/check-nautilus | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/eel/check-eel b/eel/check-eel
index d1c67b62e..009e7dd2c 100755
--- a/eel/check-eel
+++ b/eel/check-eel
@@ -1,3 +1,3 @@
 #!/bin/sh
-./check-program --g-fatal-warnings --sm-disable
+G_DEBUG=fatal-warnings ./check-program --sm-disable
 
diff --git a/src/check-nautilus b/src/check-nautilus
index c58ceb760..96e4d56a6 100755
--- a/src/check-nautilus
+++ b/src/check-nautilus
@@ -1,2 +1,2 @@
 #!/bin/sh
-./nautilus --check --g-fatal-warnings
+G_DEBUG=fatal-warnings ./nautilus --check


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