aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-04 04:30:09 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:06 +0800
commitf4c914d057214acff9b2439e642202f7902531dc (patch)
treec3d97292d0fe3865a6deaed0f6d4a821226c5577 /mail
parentf381a35cb09ded4308cf483e99e253426ccdaabe (diff)
downloadgsoc2013-evolution-f4c914d057214acff9b2439e642202f7902531dc.tar.gz
gsoc2013-evolution-f4c914d057214acff9b2439e642202f7902531dc.tar.zst
gsoc2013-evolution-f4c914d057214acff9b2439e642202f7902531dc.zip
Remove EMFolderTreeModel::folder-added signal.
No one was listening.
Diffstat (limited to 'mail')
-rw-r--r--mail/em-folder-tree-model.c14
-rw-r--r--mail/em-folder-tree-model.h4
2 files changed, 0 insertions, 18 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index de9dfe6db1..d2edb52bf0 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -85,7 +85,6 @@ enum {
enum {
LOADING_ROW,
LOADED_ROW,
- FOLDER_ADDED,
LAST_SIGNAL
};
@@ -419,17 +418,6 @@ em_folder_tree_model_class_init (EMFolderTreeModelClass *class)
G_TYPE_NONE, 2,
G_TYPE_POINTER,
G_TYPE_POINTER);
-
- signals[FOLDER_ADDED] = g_signal_new (
- "folder-added",
- G_OBJECT_CLASS_TYPE (object_class),
- G_SIGNAL_RUN_FIRST,
- G_STRUCT_OFFSET (EMFolderTreeModelClass, folder_added),
- NULL, NULL,
- e_marshal_VOID__STRING_STRING,
- G_TYPE_NONE, 2,
- G_TYPE_STRING,
- G_TYPE_STRING);
}
static void
@@ -893,8 +881,6 @@ folder_subscribed_cb (CamelStore *store,
gtk_tree_store_append (GTK_TREE_STORE (model), &iter, &parent);
em_folder_tree_model_set_folder_info (model, &iter, si, fi, TRUE);
-
- g_signal_emit (model, signals[FOLDER_ADDED], 0, fi->full_name, fi->uri);
}
static void
diff --git a/mail/em-folder-tree-model.h b/mail/em-folder-tree-model.h
index 144c5bfcb2..77b2d26659 100644
--- a/mail/em-folder-tree-model.h
+++ b/mail/em-folder-tree-model.h
@@ -109,10 +109,6 @@ struct _EMFolderTreeModelClass {
void (*loaded_row) (EMFolderTreeModel *model,
GtkTreePath *path,
GtkTreeIter *iter);
-
- void (*folder_added) (EMFolderTreeModel *model,
- const gchar *path,
- const gchar *uri);
};
GType em_folder_tree_model_get_type (void);