aboutsummaryrefslogtreecommitdiffstats
path: root/mail/main.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-06-26 13:29:04 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-06-26 13:29:04 +0800
commit9c515ee30bc2498ab3fa37d34dcc02d051a39e56 (patch)
tree37d588842fb47857f96ce63811e085b361279807 /mail/main.c
parente5924b4f235a45635914373fad213ba0e1cb8459 (diff)
downloadgsoc2013-evolution-9c515ee30bc2498ab3fa37d34dcc02d051a39e56.tar
gsoc2013-evolution-9c515ee30bc2498ab3fa37d34dcc02d051a39e56.tar.gz
gsoc2013-evolution-9c515ee30bc2498ab3fa37d34dcc02d051a39e56.tar.bz2
gsoc2013-evolution-9c515ee30bc2498ab3fa37d34dcc02d051a39e56.tar.lz
gsoc2013-evolution-9c515ee30bc2498ab3fa37d34dcc02d051a39e56.tar.xz
gsoc2013-evolution-9c515ee30bc2498ab3fa37d34dcc02d051a39e56.tar.zst
gsoc2013-evolution-9c515ee30bc2498ab3fa37d34dcc02d051a39e56.zip
Add some debugging messages to track down thread issues better and
call GDK_THREAD_{LEAVE,ENTER} around the main loop as the GTK+ FAQ says we should do. svn path=/trunk/; revision=3737
Diffstat (limited to 'mail/main.c')
-rw-r--r--mail/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/main.c b/mail/main.c
index 5332213147..143277c854 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -79,7 +79,9 @@ main (int argc, char *argv [])
component_factory_init ();
+ GDK_THREADS_ENTER ();
bonobo_main ();
+ GDK_THREADS_LEAVE ();
return 0;
}