diff options
author | Havoc Pennington <hp@redhat.com> | 2002-03-06 22:27:24 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-03-06 22:27:24 +0000 |
commit | 262e6fab273e1c9716854bd3034899b05a969b1a (patch) | |
tree | 9be535fa2ef7dd3c2fa8c93db1a4158454869ac1 /src/util.c | |
parent | d443d92446e40ca5ecac74f8373e56f0f616f79b (diff) | |
download | metacity-262e6fab273e1c9716854bd3034899b05a969b1a.tar.gz |
use hash_table_replace instead of g_hash_table_insert
2002-03-06 Havoc Pennington <hp@redhat.com>
* src/frames.c (meta_frames_manage_window): use hash_table_replace
instead of g_hash_table_insert
* src/main.c (main): only enable verbose/debug if you set
METACITY_VERBOSE/METACITY_DEBUG
* src/util.c (ensure_logfile): only use a log file if
METACITY_USE_LOGFILE is set
* src/display.c (meta_display_for_x_display): add warning if
MetaDisplay isn't found
* src/window.c (meta_window_free): add an assertion that we
successfully cleared the grab window
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ static FILE* logfile = NULL; static void ensure_logfile (void) { - if (logfile == NULL) + if (logfile == NULL && g_getenv ("METACITY_USE_LOGFILE")) { char *filename = NULL; char *tmpl; |