summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-06 23:44:53 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-06 23:44:53 +0100
commitdc4eb9ec4a4741d02d5f3060634368b2aada1a2c (patch)
tree6c78ff243356910995572ac692191bc985e89d8a
parent9b94bc2c884289cc0b5125e918a115a342a12ff2 (diff)
Hide the endless stream of warnings from wx/GTK.
-rwxr-xr-xrun/dcpomatic2
1 files changed, 1 insertions, 1 deletions
diff --git a/run/dcpomatic b/run/dcpomatic
index 8da7d7fab..429139dac 100755
--- a/run/dcpomatic
+++ b/run/dcpomatic
@@ -29,5 +29,5 @@ elif [ "$1" == "--screenshot" ]; then
shift
GTK_PATH=/usr/local/lib/gtk-3.0 GTK_MODULES=gtk-vector-screenshot $binary "$*"
else
- $binary $*
+ $binary $* 2> >(grep -v Gtk-CRITICAL | grep -v Gtk-WARNING)
fi