[evolution] Remove EMFolderTreeModel::folder-added signal.



commit 99680d557b5763ae01e1a674ce8f3810936cd2c7
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue May 3 16:30:09 2011 -0400

    Remove EMFolderTreeModel::folder-added signal.
    
    No one was listening.

 mail/em-folder-tree-model.c |   14 --------------
 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 de9dfe6..d2edb52 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 144c5bf..77b2d26 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]