From: Dana Jansens Date: Fri, 11 Jul 2003 02:51:59 +0000 (+0000) Subject: add --g-fatal-warnings X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d3454e326fcaca2b9df81e9ad6aca542c29e7792;p=chaz%2Fopenbox add --g-fatal-warnings --- 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