aboutsummaryrefslogtreecommitdiffstats
path: root/mail/main.c
diff options
context:
space:
mode:
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 ();