aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-tree-model.c28
-rw-r--r--e-util/e-tree-model.h10
-rw-r--r--e-util/e-tree-table-adapter.c14
3 files changed, 0 insertions, 52 deletions
diff --git a/e-util/e-tree-model.c b/e-util/e-tree-model.c
index f51c31f66f..c2baaed6f8 100644
--- a/e-util/e-tree-model.c
+++ b/e-util/e-tree-model.c
@@ -52,7 +52,6 @@ enum {
NODE_INSERTED,
NODE_REMOVED,
NODE_DELETED,
- NODE_REQUEST_COLLAPSE,
REBUILT,
LAST_SIGNAL
};
@@ -135,16 +134,6 @@ e_tree_model_class_init (ETreeModelClass *class)
G_TYPE_NONE, 1,
G_TYPE_POINTER);
- signals[NODE_REQUEST_COLLAPSE] = g_signal_new (
- "node_request_collapse",
- G_TYPE_FROM_CLASS (object_class),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (ETreeModelClass, node_request_collapse),
- (GSignalAccumulator) NULL, NULL,
- g_cclosure_marshal_VOID__POINTER,
- G_TYPE_NONE, 1,
- G_TYPE_POINTER);
-
class->get_root = NULL;
class->get_parent = NULL;
@@ -186,7 +175,6 @@ e_tree_model_class_init (ETreeModelClass *class)
class->node_inserted = NULL;
class->node_removed = NULL;
class->node_deleted = NULL;
- class->node_request_collapse = NULL;
}
static void
@@ -318,22 +306,6 @@ e_tree_model_node_deleted (ETreeModel *tree_model,
}
/**
- * e_tree_model_node_request_collapse:
- * @tree_model:
- * @collapsed_path:
- *
- *
- **/
-void
-e_tree_model_node_request_collapse (ETreeModel *tree_model,
- ETreePath collapsed_path)
-{
- g_return_if_fail (E_IS_TREE_MODEL (tree_model));
-
- g_signal_emit (tree_model, signals[NODE_REQUEST_COLLAPSE], 0, collapsed_path);
-}
-
-/**
* e_tree_model_new
*
* XXX docs here.
diff --git a/e-util/e-tree-model.h b/e-util/e-tree-model.h
index 173d53d2f0..31696b393b 100644
--- a/e-util/e-tree-model.h
+++ b/e-util/e-tree-model.h
@@ -162,13 +162,6 @@ struct _ETreeModelClass {
void (*node_deleted) (ETreeModel *tree_model,
ETreePath deleted_path);
void (*rebuilt) (ETreeModel *tree_model);
-
- /* This signal requests that any viewers of the tree that
- * collapse and expand nodes collapse this node.
- */
- void (*node_request_collapse)
- (ETreeModel *tree_model,
- ETreePath path);
};
GType e_tree_model_get_type (void) G_GNUC_CONST;
@@ -263,9 +256,6 @@ void e_tree_model_node_removed (ETreeModel *tree_model,
gint old_position);
void e_tree_model_node_deleted (ETreeModel *tree_model,
ETreePath deleted_path);
-void e_tree_model_node_request_collapse
- (ETreeModel *tree_model,
- ETreePath collapsed_path);
G_END_DECLS
diff --git a/e-util/e-tree-table-adapter.c b/e-util/e-tree-table-adapter.c
index ddb439f98d..161ce2b26f 100644
--- a/e-util/e-tree-table-adapter.c
+++ b/e-util/e-tree-table-adapter.c
@@ -91,7 +91,6 @@ struct _ETreeTableAdapterPrivate {
gint node_data_changed_id;
gint node_inserted_id;
gint node_removed_id;
- gint node_request_collapse_id;
gint sort_info_changed_id;
guint resort_idle_id;
@@ -591,8 +590,6 @@ etta_dispose (GObject *object)
priv->source, priv->node_inserted_id);
g_signal_handler_disconnect (
priv->source, priv->node_removed_id);
- g_signal_handler_disconnect (
- priv->source, priv->node_request_collapse_id);
g_object_unref (priv->source);
priv->source = NULL;
@@ -877,14 +874,6 @@ etta_proxy_node_removed (ETreeModel *etm,
}
static void
-etta_proxy_node_request_collapse (ETreeModel *etm,
- ETreePath node,
- ETreeTableAdapter *etta)
-{
- e_tree_table_adapter_node_set_expanded (etta, node, FALSE);
-}
-
-static void
etta_sort_info_changed (ETableSortInfo *sort_info,
ETreeTableAdapter *etta)
{
@@ -956,9 +945,6 @@ e_tree_table_adapter_construct (ETreeTableAdapter *etta,
etta->priv->node_removed_id = g_signal_connect (
source, "node_removed",
G_CALLBACK (etta_proxy_node_removed), etta);
- etta->priv->node_request_collapse_id = g_signal_connect (
- source, "node_request_collapse",
- G_CALLBACK (etta_proxy_node_request_collapse), etta);
return E_TABLE_MODEL (etta);
}