aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>2000-03-27 11:27:49 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-03-27 11:27:49 +0800
commitb91ef9d4eb815fd40e35bfce4a9684024b32ab5f (patch)
tree7378b67a086512fdf4058145a1ed9156b1a14b54
parent2589a36ea0c4bfa872dcbf866af35ed023d3605c (diff)
downloadgsoc2013-evolution-b91ef9d4eb815fd40e35bfce4a9684024b32ab5f.tar.gz
gsoc2013-evolution-b91ef9d4eb815fd40e35bfce4a9684024b32ab5f.tar.zst
gsoc2013-evolution-b91ef9d4eb815fd40e35bfce4a9684024b32ab5f.zip
Memory leak fix.
2000-03-26 Miguel de Icaza <miguel@gnu.org> * folder-browser-factory.c (folder_browser_set_shell): Memory leak fix. svn path=/trunk/; revision=2175
-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),