diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-tree-model.c | 16 | ||||
-rw-r--r-- | e-util/e-tree-model.h | 8 | ||||
-rw-r--r-- | e-util/e-tree-table-adapter.c | 4 |
3 files changed, 1 insertions, 27 deletions
diff --git a/e-util/e-tree-model.c b/e-util/e-tree-model.c index a590d8c974..5e8518792a 100644 --- a/e-util/e-tree-model.c +++ b/e-util/e-tree-model.c @@ -555,22 +555,6 @@ e_tree_model_value_at (ETreeModel *tree_model, return interface->value_at (tree_model, path, col); } -void -e_tree_model_set_value_at (ETreeModel *tree_model, - ETreePath path, - gint col, - gconstpointer val) -{ - ETreeModelInterface *interface; - - g_return_if_fail (E_IS_TREE_MODEL (tree_model)); - - interface = E_TREE_MODEL_GET_INTERFACE (tree_model); - g_return_if_fail (interface->set_value_at != NULL); - - interface->set_value_at (tree_model, path, col, val); -} - /** * e_tree_model_node_is_editable: * @tree_model: diff --git a/e-util/e-tree-model.h b/e-util/e-tree-model.h index 847632b035..41b661f87c 100644 --- a/e-util/e-tree-model.h +++ b/e-util/e-tree-model.h @@ -88,10 +88,6 @@ struct _ETreeModelInterface { gpointer (*value_at) (ETreeModel *tree_model, ETreePath path, gint col); - void (*set_value_at) (ETreeModel *tree_model, - ETreePath path, - gint col, - gconstpointer val); gboolean (*is_editable) (ETreeModel *tree_model, ETreePath path, gint col); @@ -172,10 +168,6 @@ gpointer e_tree_model_sort_value_at (ETreeModel *tree_model, gpointer e_tree_model_value_at (ETreeModel *tree_model, ETreePath path, gint col); -void e_tree_model_set_value_at (ETreeModel *tree_model, - ETreePath path, - gint col, - gconstpointer val); gboolean e_tree_model_node_is_editable (ETreeModel *tree_model, ETreePath path, gint col); diff --git a/e-util/e-tree-table-adapter.c b/e-util/e-tree-table-adapter.c index 9262b40800..24d606da60 100644 --- a/e-util/e-tree-table-adapter.c +++ b/e-util/e-tree-table-adapter.c @@ -657,9 +657,7 @@ etta_set_value_at (ETableModel *etm, gint row, gconstpointer val) { - ETreeTableAdapter *etta = (ETreeTableAdapter *) etm; - - e_tree_model_set_value_at (etta->priv->source, get_path (etta, row), col, val); + g_warn_if_reached (); } static gboolean |