aboutsummaryrefslogtreecommitdiffstats
path: root/mail/main.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-06-28 01:47:06 +0800
committerPeter Williams <peterw@src.gnome.org>2000-06-28 01:47:06 +0800
commit1193028abda12bed144d0e87087abeb4afe64aed (patch)
tree4b42aa25940e1df735b60a02bf0edd85604eff24 /mail/main.c
parent1b6ebb2f7d18f51f732670b13f1aa66f79bea77f (diff)
downloadgsoc2013-evolution-1193028abda12bed144d0e87087abeb4afe64aed.tar
gsoc2013-evolution-1193028abda12bed144d0e87087abeb4afe64aed.tar.gz
gsoc2013-evolution-1193028abda12bed144d0e87087abeb4afe64aed.tar.bz2
gsoc2013-evolution-1193028abda12bed144d0e87087abeb4afe64aed.tar.lz
gsoc2013-evolution-1193028abda12bed144d0e87087abeb4afe64aed.tar.xz
gsoc2013-evolution-1193028abda12bed144d0e87087abeb4afe64aed.tar.zst
gsoc2013-evolution-1193028abda12bed144d0e87087abeb4afe64aed.zip
Hey, nothreads might work now\!
svn path=/trunk/; revision=3762
Diffstat (limited to 'mail/main.c')
-rw-r--r--mail/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/main.c b/mail/main.c
index 143277c854..d085fc879f 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -66,8 +66,9 @@ main (int argc, char *argv [])
bindtextdomain (PACKAGE, EVOLUTION_LOCALEDIR);
textdomain (PACKAGE);
+#ifdef USE_BROKEN_THREADS
g_thread_init( NULL );
-
+#endif
init_corba (&argc, argv);
init_bonobo ();
gtkhtmllib_init (argc, argv);
@@ -79,9 +80,13 @@ main (int argc, char *argv [])
component_factory_init ();
+#ifdef USE_BROKEN_THREADS
GDK_THREADS_ENTER ();
+#endif
bonobo_main ();
+#ifdef USE_BROKEN_THREADS
GDK_THREADS_LEAVE ();
+#endif
return 0;
}