aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-11-30 22:51:38 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-11-30 22:51:38 +0800
commit912785cb60d322c3e29825111261cbb3b0ffc62f (patch)
tree958e92201b2a3da849198d1aeb2019a138d24cb4
parent99bdfc8c24951660b423147a2c9682c868748eab (diff)
downloadgsoc2013-evolution-912785cb60d322c3e29825111261cbb3b0ffc62f.tar
gsoc2013-evolution-912785cb60d322c3e29825111261cbb3b0ffc62f.tar.gz
gsoc2013-evolution-912785cb60d322c3e29825111261cbb3b0ffc62f.tar.bz2
gsoc2013-evolution-912785cb60d322c3e29825111261cbb3b0ffc62f.tar.lz
gsoc2013-evolution-912785cb60d322c3e29825111261cbb3b0ffc62f.tar.xz
gsoc2013-evolution-912785cb60d322c3e29825111261cbb3b0ffc62f.tar.zst
gsoc2013-evolution-912785cb60d322c3e29825111261cbb3b0ffc62f.zip
EMFolderTreeModel: Remove some dead code.
-rw-r--r--mail/em-folder-tree-model.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 0853b640d1..5dbd0a4007 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -1541,10 +1541,8 @@ em_folder_tree_model_add_store (EMFolderTreeModel *model,
GtkTreePath *path;
CamelService *service;
CamelProvider *provider;
- CamelURL *service_url;
StoreInfo *si;
const gchar *display_name;
- gchar *uri;
g_return_if_fail (EM_IS_FOLDER_TREE_MODEL (model));
g_return_if_fail (CAMEL_IS_STORE (store));
@@ -1566,10 +1564,6 @@ em_folder_tree_model_add_store (EMFolderTreeModel *model,
if (em_utils_is_local_delivery_mbox_file (service))
return;
- service_url = camel_service_new_camel_url (service);
- uri = camel_url_to_string (service_url, CAMEL_URL_HIDE_ALL);
- camel_url_free (service_url);
-
si = folder_tree_model_store_index_lookup (model, store);
if (si != NULL) {
em_folder_tree_model_remove_store (model, store);
@@ -1587,8 +1581,6 @@ em_folder_tree_model_add_store (EMFolderTreeModel *model,
COL_BOOL_IS_STORE, TRUE,
-1);
- g_free (uri);
-
path = gtk_tree_model_get_path (GTK_TREE_MODEL (model), &iter);
reference = gtk_tree_row_reference_new (GTK_TREE_MODEL (model), path);