diff options
-rw-r--r-- | doc/reference/evolution-util/evolution-util-sections.txt | 1 | ||||
-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 | ||||
-rw-r--r-- | mail/message-list.c | 10 |
5 files changed, 1 insertions, 38 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt index 32443c6215..cdb617f062 100644 --- a/doc/reference/evolution-util/evolution-util-sections.txt +++ b/doc/reference/evolution-util/evolution-util-sections.txt @@ -4299,7 +4299,6 @@ e_tree_model_get_save_id e_tree_model_get_node_by_id e_tree_model_sort_value_at e_tree_model_value_at -e_tree_model_set_value_at e_tree_model_node_is_editable e_tree_model_duplicate_value e_tree_model_free_value 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 diff --git a/mail/message-list.c b/mail/message-list.c index e99deadf2d..a152deff8a 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -2758,15 +2758,6 @@ message_list_value_at (ETreeModel *tree_model, return ml_tree_value_at_ex (tree_model, path, col, msg_info, message_list); } -static void -message_list_set_value_at (ETreeModel *tree_model, - ETreePath path, - gint col, - gconstpointer val) -{ - g_warn_if_reached (); -} - static gboolean message_list_is_editable (ETreeModel *tree_model, ETreePath path, @@ -3127,7 +3118,6 @@ message_list_tree_model_init (ETreeModelInterface *interface) interface->get_node_by_id = message_list_get_node_by_id; interface->sort_value_at = message_list_sort_value_at; interface->value_at = message_list_value_at; - interface->set_value_at = message_list_set_value_at; interface->is_editable = message_list_is_editable; interface->duplicate_value = message_list_duplicate_value; interface->free_value = message_list_free_value; |