diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-04 04:30:09 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-04 04:30:09 +0800 |
commit | 99680d557b5763ae01e1a674ce8f3810936cd2c7 (patch) | |
tree | f1b3dbcdcd6998746441a3760df007df4f88840f /mail | |
parent | d3fab3c3207a324d6a72e494959debbb7f7ce240 (diff) | |
download | gsoc2013-evolution-99680d557b5763ae01e1a674ce8f3810936cd2c7.tar.gz gsoc2013-evolution-99680d557b5763ae01e1a674ce8f3810936cd2c7.tar.zst gsoc2013-evolution-99680d557b5763ae01e1a674ce8f3810936cd2c7.zip |
Remove EMFolderTreeModel::folder-added signal.
No one was listening.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/em-folder-tree-model.c | 14 | ||||
-rw-r--r-- | mail/em-folder-tree-model.h | 4 |
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); |