mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05: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:
parent
af83598ad3
commit
b94beb3289
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
2002-05-11 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* src/display.c: (find_tab_forward), (find_tab_backward),
|
||||
|
@ -257,10 +257,11 @@ 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);
|
||||
|
||||
/* Try some panic stuff, this is lame but we really
|
||||
|
Loading…
Reference in New Issue
Block a user