aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-28 20:49:26 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:21 +0800
commit8afd0b13add0e6dd11a4dd49ece236f1cec0e61d (patch)
tree0917864f4eb53db632c60d0db13ff1c2d1264a93 /mail/em-folder-tree-model.c
parent3f67582bbd4aaa034413bf3bc9bdf3e476f48c9f (diff)
downloadgsoc2013-evolution-8afd0b13add0e6dd11a4dd49ece236f1cec0e61d.tar
gsoc2013-evolution-8afd0b13add0e6dd11a4dd49ece236f1cec0e61d.tar.gz
gsoc2013-evolution-8afd0b13add0e6dd11a4dd49ece236f1cec0e61d.tar.bz2
gsoc2013-evolution-8afd0b13add0e6dd11a4dd49ece236f1cec0e61d.tar.lz
gsoc2013-evolution-8afd0b13add0e6dd11a4dd49ece236f1cec0e61d.tar.xz
gsoc2013-evolution-8afd0b13add0e6dd11a4dd49ece236f1cec0e61d.tar.zst
gsoc2013-evolution-8afd0b13add0e6dd11a4dd49ece236f1cec0e61d.zip
Remove display_name from EMFolderTreeModelStoreInfo.
It was only being used to look up an EAccount UID, but we already had the CamelStore, and the CamelStore UID is the same as the EAccount UID.
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r--mail/em-folder-tree-model.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 1a04a3437c..6d019eee65 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -108,7 +108,6 @@ store_info_free (EMFolderTreeModelStoreInfo *si)
g_signal_handler_disconnect (si->store, si->subscribed_id);
g_signal_handler_disconnect (si->store, si->unsubscribed_id);
- g_free (si->display_name);
g_object_unref (si->store);
gtk_tree_row_reference_free (si->row);
g_hash_table_destroy (si->full_hash);
@@ -1048,7 +1047,6 @@ em_folder_tree_model_add_store (EMFolderTreeModel *model,
reference = gtk_tree_row_reference_new (GTK_TREE_MODEL (model), path);
si = g_new (EMFolderTreeModelStoreInfo, 1);
- si->display_name = g_strdup (display_name);
si->store = g_object_ref (store);
si->account = account;
si->row = gtk_tree_row_reference_copy (reference);