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/statusbar.c | |
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/statusbar.c')
-rw-r--r-- | src/statusbar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/statusbar.c b/src/statusbar.c index c4f7a6d4..2bd7ff8d 100644 --- a/src/statusbar.c +++ b/src/statusbar.c @@ -67,8 +67,10 @@ void statusbar_puts_all(const gchar *str) { GList *cur; + gdk_threads_enter(); for (cur = statusbar_list; cur != NULL; cur = cur->next) statusbar_puts(GTK_STATUSBAR(cur->data), str); + gdk_threads_leave(); } void statusbar_print(GtkStatusbar *statusbar, const gchar *format, ...) |