aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-16 00:19:16 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-16 00:19:16 +0800
commite205921fd969b1c5a1fb464b29bb818363724297 (patch)
tree486bcc5b0ad4164db32d9541596d1713ea8de1af /e-util
parentecd605278fdb96cbeff88dbcfcd8180a3b754f9c (diff)
downloadgsoc2013-evolution-e205921fd969b1c5a1fb464b29bb818363724297.tar
gsoc2013-evolution-e205921fd969b1c5a1fb464b29bb818363724297.tar.gz
gsoc2013-evolution-e205921fd969b1c5a1fb464b29bb818363724297.tar.bz2
gsoc2013-evolution-e205921fd969b1c5a1fb464b29bb818363724297.tar.lz
gsoc2013-evolution-e205921fd969b1c5a1fb464b29bb818363724297.tar.xz
gsoc2013-evolution-e205921fd969b1c5a1fb464b29bb818363724297.tar.zst
gsoc2013-evolution-e205921fd969b1c5a1fb464b29bb818363724297.zip
Remove e_tree_model_has_change_pending().
ETreeMemory does not implement this, so it's always FALSE.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-tree-model.c21
-rw-r--r--e-util/e-tree-model.h3
-rw-r--r--e-util/e-tree-table-adapter.c9
3 files changed, 0 insertions, 33 deletions
diff --git a/e-util/e-tree-model.c b/e-util/e-tree-model.c
index abea032bd6..d866da8adc 100644
--- a/e-util/e-tree-model.c
+++ b/e-util/e-tree-model.c
@@ -593,27 +593,6 @@ e_tree_model_get_node_by_id (ETreeModel *tree_model,
}
/**
- * e_tree_model_has_change_pending
- * @tree_model: The ETreeModel.
- *
- * XXX docs here.
- *
- * return values: Whether this tree has valid save id data.
- */
-gboolean
-e_tree_model_has_change_pending (ETreeModel *tree_model)
-{
- ETreeModelClass *class;
-
- g_return_val_if_fail (E_IS_TREE_MODEL (tree_model), FALSE);
-
- class = E_TREE_MODEL_GET_CLASS (tree_model);
- g_return_val_if_fail (class->has_change_pending != NULL, FALSE);
-
- return class->has_change_pending (tree_model);
-}
-
-/**
* e_tree_model_sort_value_at:
* @tree_model: The ETreeModel.
* @path: The ETreePath to the node we're getting the data from.
diff --git a/e-util/e-tree-model.h b/e-util/e-tree-model.h
index 23e9bb7b5f..330bcd9258 100644
--- a/e-util/e-tree-model.h
+++ b/e-util/e-tree-model.h
@@ -104,8 +104,6 @@ struct _ETreeModelClass {
ETreePath (*get_node_by_id) (ETreeModel *tree_model,
const gchar *save_id);
- gboolean (*has_change_pending) (ETreeModel *tree_model);
-
/*
* ETable analogs
*/
@@ -197,7 +195,6 @@ gchar * e_tree_model_get_save_id (ETreeModel *tree_model,
gboolean e_tree_model_has_get_node_by_id (ETreeModel *tree_model);
ETreePath e_tree_model_get_node_by_id (ETreeModel *tree_model,
const gchar *save_id);
-gboolean e_tree_model_has_change_pending (ETreeModel *tree_model);
gpointer e_tree_model_sort_value_at (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 161ce2b26f..6a17d6623e 100644
--- a/e-util/e-tree-table-adapter.c
+++ b/e-util/e-tree-table-adapter.c
@@ -624,14 +624,6 @@ etta_get_save_id (ETableModel *etm,
return e_tree_model_get_save_id (etta->priv->source, get_path (etta, row));
}
-static gboolean
-etta_has_change_pending (ETableModel *etm)
-{
- ETreeTableAdapter *etta = (ETreeTableAdapter *) etm;
-
- return e_tree_model_has_change_pending (etta->priv->source);
-}
-
static gint
etta_row_count (ETableModel *etm)
{
@@ -762,7 +754,6 @@ etta_class_init (ETreeTableAdapterClass *class)
table_model_class->has_save_id = etta_has_save_id;
table_model_class->get_save_id = etta_get_save_id;
- table_model_class->has_change_pending = etta_has_change_pending;
table_model_class->duplicate_value = etta_duplicate_value;
table_model_class->free_value = etta_free_value;
table_model_class->initialize_value = etta_initialize_value;