aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-16 08:17:36 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-16 08:17:36 +0800
commitad10f874c5ca7542afbe227405f3df75635e2c36 (patch)
tree01c267ac9dae0076048eb86337694020e28ce27e /e-util
parentbd6d0c3222da89b61f04dee58ab2a2ca9fd878bc (diff)
downloadgsoc2013-evolution-ad10f874c5ca7542afbe227405f3df75635e2c36.tar
gsoc2013-evolution-ad10f874c5ca7542afbe227405f3df75635e2c36.tar.gz
gsoc2013-evolution-ad10f874c5ca7542afbe227405f3df75635e2c36.tar.bz2
gsoc2013-evolution-ad10f874c5ca7542afbe227405f3df75635e2c36.tar.lz
gsoc2013-evolution-ad10f874c5ca7542afbe227405f3df75635e2c36.tar.xz
gsoc2013-evolution-ad10f874c5ca7542afbe227405f3df75635e2c36.tar.zst
gsoc2013-evolution-ad10f874c5ca7542afbe227405f3df75635e2c36.zip
Remove e_tree_model_set_value_at().
Was never called.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-tree-model.c16
-rw-r--r--e-util/e-tree-model.h8
-rw-r--r--e-util/e-tree-table-adapter.c4
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