diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-09-29 07:49:30 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-09-29 07:49:30 +0000 |
commit | a75654a326dadebacc229762eb01f5e7c65b1ccc (patch) | |
tree | 384933406e40aa0eae55368420af4b1391a568fc /src/logwindow.h | |
parent | 1ff05553158408570a7cd548fdcdf4ec7be07f5d (diff) |
made GDK locks reentrant, and made LogWindow thread-safe.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2259 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/logwindow.h')
-rw-r--r-- | src/logwindow.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/logwindow.h b/src/logwindow.h index 97a9159f..7e4a1d47 100644 --- a/src/logwindow.h +++ b/src/logwindow.h @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2003 Hiroyuki Yamamoto + * Copyright (C) 1999-2009 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -44,6 +44,10 @@ struct _LogWindow GdkColor error_color; gint lines; + +#if USE_THREADS + GAsyncQueue *aqueue; +#endif }; LogWindow *log_window_create(void); @@ -51,5 +55,8 @@ void log_window_init(LogWindow *logwin); void log_window_show(LogWindow *logwin); void log_window_append(const gchar *str, LogType type); +void log_window_append_queue(const gchar *str, LogType type); + +void log_window_flush(void); #endif /* __LOGWINDOW_H__ */ |