aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser-factory.c24
2 files changed, 19 insertions, 10 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b0834cb5ac..36b10f898a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-26 Miguel de Icaza <miguel@gnu.org>
+
+ * folder-browser-factory.c (folder_browser_set_shell): Memory leak
+ fix.
+
2000-03-25 Dan Winship <danw@helixcode.com>
* message-list.c (select_msg, ml_value_at): update for summary
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index 947f0b3abe..3dd7a1eafd 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -44,6 +44,8 @@ folder_browser_set_shell (EvolutionServiceRepository *sr,
/* test the component->shell registration */
Evolution_Shell_register_service (shell, Evolution_Shell_MAIL_STORE, "a_service", &ev);
+
+ CORBA_exception_free (&ev);
}
static void
@@ -71,16 +73,18 @@ development_warning ()
gint result;
GtkWidget *label, *warning_dialog;
- warning_dialog = gnome_dialog_new ("Don't do that",
- "I know what I'm doing,\nI want to crash my mail files",
- "I'll try it later",
- NULL);
-
- label = gtk_label_new ("This is a development version of Evolution.\n "
- "Using the mail component on your mail files\n "
- "is extremely hazardous.\n"
- "Please backup all your mails before trying\n "
- "this program. \n You have been warned\n");
+ warning_dialog = gnome_dialog_new (
+ "Don't do that",
+ "I know what I'm doing,\nI want to crash my mail files",
+ "I'll try it later",
+ NULL);
+
+ label = gtk_label_new (
+ _("This is a development version of Evolution.\n "
+ "Using the mail component on your mail files\n "
+ "is extremely hazardous.\n"
+ "Please backup all your mails before trying\n "
+ "this program. \n You have been warned\n"));
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (warning_dialog)->vbox),