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, 6 insertions, 2 deletions
diff --git a/mail/main.c b/mail/main.c
index 10497a145d..b3daea3f99 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -103,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;
@@ -144,6 +144,8 @@ 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);
@@ -163,6 +165,8 @@ main (int argc, char *argv [])
mail_config_write_on_exit ();
e_passwords_shutdown ();
-
+
+ gnome_sound_shutdown ();
+
return 0;
}