diff options
author | Miguel de Icaza <miguel@gnu.org> | 2000-03-27 11:27:49 +0800 |
---|---|---|
committer | Miguel de Icaza <miguel@src.gnome.org> | 2000-03-27 11:27:49 +0800 |
commit | b91ef9d4eb815fd40e35bfce4a9684024b32ab5f (patch) | |
tree | 7378b67a086512fdf4058145a1ed9156b1a14b54 /mail/folder-browser-factory.c | |
parent | 2589a36ea0c4bfa872dcbf866af35ed023d3605c (diff) | |
download | gsoc2013-evolution-b91ef9d4eb815fd40e35bfce4a9684024b32ab5f.tar gsoc2013-evolution-b91ef9d4eb815fd40e35bfce4a9684024b32ab5f.tar.gz gsoc2013-evolution-b91ef9d4eb815fd40e35bfce4a9684024b32ab5f.tar.bz2 gsoc2013-evolution-b91ef9d4eb815fd40e35bfce4a9684024b32ab5f.tar.lz gsoc2013-evolution-b91ef9d4eb815fd40e35bfce4a9684024b32ab5f.tar.xz 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
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r-- | mail/folder-browser-factory.c | 24 |
1 files changed, 14 insertions, 10 deletions
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), |