From d3454e326fcaca2b9df81e9ad6aca542c29e7792 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 11 Jul 2003 02:51:59 +0000 Subject: [PATCH] add --g-fatal-warnings --- openbox/openbox.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openbox/openbox.c b/openbox/openbox.c index 4c36022c..23476417 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -521,6 +521,8 @@ static void parse_args(int argc, char **argv) } else if (!strcmp(argv[i], "--help")) { print_help(); exit(0); + } else if (!strcmp(argv[i], "--g-fatal-warnings")) { + g_log_set_always_fatal(G_LOG_LEVEL_CRITICAL); } else if (!strcmp(argv[i], "--sync")) { xsync = TRUE; #ifdef USE_SM -- 2.39.2