mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
turn on --g-fatal-warnings if METACITY_G_FATAL_WARNINGS env variable is
2002-05-12 Havoc Pennington <hp@pobox.com> * src/main.c (main): turn on --g-fatal-warnings if METACITY_G_FATAL_WARNINGS env variable is set.
This commit is contained in:

committed by
Havoc Pennington

parent
af83598ad3
commit
b94beb3289
@ -257,9 +257,10 @@ main (int argc, char **argv)
|
||||
G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION,
|
||||
log_handler, NULL);
|
||||
|
||||
if (meta_is_debugging ())
|
||||
g_log_set_always_fatal (G_LOG_LEVEL_MASK);
|
||||
#endif
|
||||
|
||||
if (g_getenv ("METACITY_G_FATAL_WARNINGS") != NULL)
|
||||
g_log_set_always_fatal (G_LOG_LEVEL_MASK);
|
||||
|
||||
meta_ui_set_current_theme (meta_prefs_get_theme (), FALSE);
|
||||
|
||||
|
Reference in New Issue
Block a user