aboutsummaryrefslogtreecommitdiffstats
path: root/mail/main.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-08-14 08:33:01 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-08-14 08:33:01 +0800
commite2027224b4012431e74ba7c7652862a7a6097e58 (patch)
tree10afd75e5622c81c5a6a0da871d619b3d0f40f25 /mail/main.c
parent3dc7eb6abbe8e11262cbd49ca782888169692028 (diff)
downloadgsoc2013-evolution-e2027224b4012431e74ba7c7652862a7a6097e58.tar.gz
gsoc2013-evolution-e2027224b4012431e74ba7c7652862a7a6097e58.tar.zst
gsoc2013-evolution-e2027224b4012431e74ba7c7652862a7a6097e58.zip
Use the default handlers for SIGBUS and SIGSEGV as gnome_segv_handler
doesn't enjoy threads much. svn path=/trunk/; revision=4826
Diffstat (limited to 'mail/main.c')
-rw-r--r--mail/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/main.c b/mail/main.c
index b1a8766899..9b51756d33 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -8,14 +8,19 @@
*/
#include <config.h>
+
+#include <signal.h>
+
#include <gnome.h>
#include <bonobo/bonobo-main.h>
#include <bonobo/bonobo-object-directory.h>
#include <glade/glade.h>
#include <liboaf/liboaf.h>
+
#ifdef GTKHTML_HAVE_GCONF
#include <gconf/gconf.h>
#endif
+
#include "e-util/e-gui-utils.h"
#include "e-util/e-cursors.h"
@@ -55,6 +60,9 @@ main (int argc, char *argv [])
component_factory_init ();
+ signal (SIGSEGV, SIG_DFL);
+ signal (SIGBUS, SIG_DFL);
+
GDK_THREADS_ENTER ();
bonobo_main ();
GDK_THREADS_LEAVE ();