diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-10-02 07:07:50 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-10-02 07:07:50 +0000 |
commit | e1751c80144745a8e6d92c52bd7f4398cb620c7e (patch) | |
tree | 91ed0d5180251ef6a17eac886261c7e7f6115fe1 /src | |
parent | 23ef14d81cba3cf214f3f15c1e6a937dc9911036 (diff) |
logwindow.c: reduced debug print.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2269 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/logwindow.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/logwindow.c b/src/logwindow.c index 47cc8a8b..b8df6d93 100644 --- a/src/logwindow.c +++ b/src/logwindow.c @@ -261,7 +261,7 @@ void log_window_append(const gchar *str, LogType type) { #if USE_THREADS if (g_thread_self() != main_thread) { - fprintf(stderr, "log_window_append called from non-main thread (%p)\n", g_thread_self()); + //g_fprintf(stderr, "log_window_append called from non-main thread (%p)\n", g_thread_self()); log_window_append_queue(str, type); return; } @@ -286,7 +286,7 @@ void log_window_append_queue(const gchar *str, LogType type) logdata->str = g_strdup(str); logdata->type = type; - g_print("append_queue: (%d) %s", type, str); + //g_print("append_queue: (%d) %s", type, str); g_async_queue_push(logwindow->aqueue, logdata); #endif } @@ -297,12 +297,12 @@ void log_window_flush(void) LogData *logdata; if (g_thread_self() != main_thread) { - fprintf(stderr, "log_window_flush called from non-main thread (%p)\n", g_thread_self()); + g_fprintf(stderr, "log_window_flush called from non-main thread (%p)\n", g_thread_self()); return; } while ((logdata = g_async_queue_try_pop(logwindow->aqueue))) { - g_print("flush_queue: (%d) %s", logdata->type, logdata->str); + //g_print("flush_queue: (%d) %s", logdata->type, logdata->str); log_window_append_real(logdata->str, logdata->type); g_free(logdata->str); g_free(logdata); |