aboutsummaryrefslogtreecommitdiffstats
path: root/mail/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/main.c')
-rw-r--r--mail/main.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/mail/main.c b/mail/main.c
index 5abc160999..10497a145d 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -14,7 +14,6 @@
#include <signal.h>
#include <libgnome/gnome-defs.h>
-#include <libgnome/gnome-sound.h>
#include <libgnomeui/gnome-init.h>
#include <bonobo/bonobo-main.h>
#include <bonobo/bonobo-object-directory.h>
@@ -88,8 +87,15 @@ main (int argc, char *argv [])
CORBA_ORB orb;
struct sigaction sa, osa;
+#ifdef DO_MCHECK
+ /* used to make elfence work */
+#if 0
free (malloc (10));
-
+#else
+ /*mtrace();*/
+ mcheck(blowup);
+#endif
+#endif
bindtextdomain (PACKAGE, EVOLUTION_LOCALEDIR);
textdomain (PACKAGE);
@@ -97,7 +103,7 @@ main (int argc, char *argv [])
gnome_init_with_popt_table ("evolution-mail-component", VERSION,
argc, argv, oaf_popt_options, 0, NULL);
-
+
sigaction (SIGSEGV, NULL, &osa);
if (osa.sa_handler != SIG_DFL) {
sa.sa_flags = 0;
@@ -138,8 +144,6 @@ main (int argc, char *argv [])
mail_config_init ();
mail_msg_init ();
- gnome_sound_init ("localhost");
-
component_factory_init ();
evolution_composer_factory_init (composer_send_cb,
composer_postpone_cb);
@@ -149,8 +153,6 @@ main (int argc, char *argv [])
gdk_threads_mutex = NULL;
}
- g_print ("Evolution Mail ready and running.\n");
-
GDK_THREADS_ENTER ();
bonobo_main ();
@@ -161,8 +163,6 @@ main (int argc, char *argv [])
mail_config_write_on_exit ();
e_passwords_shutdown ();
-
- gnome_sound_shutdown ();
-
+
return 0;
}