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




commit f7db2e5ddc8615b3339ef1363e520878e819fb98
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]