aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-03-30 05:25:52 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-03-30 05:25:52 +0800
commit1eeeedc0b171c92685b5b49887d503867dc8ff48 (patch)
treeaea54e34d441564021d0f8e9a9cfd7bcb6128744
parent257bb5a89dbe663f48ee735d1618d263cb721f36 (diff)
downloadgsoc2013-evolution-1eeeedc0b171c92685b5b49887d503867dc8ff48.tar.gz
gsoc2013-evolution-1eeeedc0b171c92685b5b49887d503867dc8ff48.tar.zst
gsoc2013-evolution-1eeeedc0b171c92685b5b49887d503867dc8ff48.zip
Free the folder-info.
2004-03-29 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_create_folder__free): Free the folder-info. svn path=/trunk/; revision=25233
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/em-folder-tree.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e3408f4374..d733c884d0 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2004-03-29 Jeffrey Stedfast <fejj@ximian.com>
+ * em-folder-tree.c (emft_create_folder__free): Free the
+ folder-info.
+
* em-folder-browser.c (emfb_activate): Instead of comparing
sstate[0] to '1', compare it against '0' like all the other code
does.
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index f1f79bfd15..e17c2b5eed 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -2059,6 +2059,7 @@ emft_create_folder__free (struct _mail_msg *mm)
{
struct _EMCreateFolder *m = (struct _EMCreateFolder *) mm;
+ camel_store_free_folder_info (m->store, m->fi);
camel_object_unref (m->store);
g_free (m->full_name);
g_free (m->parent);
@@ -2218,8 +2219,6 @@ emft_popup_new_folder (GtkWidget *item, EMFolderTree *emft)
em_folder_selector_set_selected ((EMFolderSelector *) dialog, emft->priv->selected_uri);
g_signal_connect (dialog, "response", G_CALLBACK (emft_popup_new_folder_response), emft);
gtk_widget_show (dialog);
- /* FIXME: what is this crap, this should go in the folder selector */
- gtk_widget_grab_focus ((GtkWidget *) ((EMFolderSelector *)dialog)->name_entry);
}
static void