diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 01:19:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 03:31:52 +0800 |
commit | 6abeaa322335645149113e406f85a3a1b75a19f1 (patch) | |
tree | df316dbd45b1e352398a01f4913e818471a73811 /e-util | |
parent | 662c1a21bf74ebb4724612eea840a3dd810860b4 (diff) | |
download | gsoc2013-evolution-6abeaa322335645149113e406f85a3a1b75a19f1.tar.gz gsoc2013-evolution-6abeaa322335645149113e406f85a3a1b75a19f1.tar.zst gsoc2013-evolution-6abeaa322335645149113e406f85a3a1b75a19f1.zip |
Remove e_tree_row_count().
Reducing API bloat. Do this instead:
adapter = e_tree_get_table_adapter (tree);
row_count = e_table_model_row_count (E_TABLE_MODEL (adapter));
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-tree.c | 8 | ||||
-rw-r--r-- | e-util/e-tree.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/e-util/e-tree.c b/e-util/e-tree.c index d9f723b3a9..7ae12831a2 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -2196,14 +2196,6 @@ e_tree_view_to_model_row (ETree *tree, return view_row; } -gint -e_tree_row_count (ETree *tree) -{ - g_return_val_if_fail (E_IS_TREE (tree), -1); - - return e_table_model_row_count (E_TABLE_MODEL (tree->priv->etta)); -} - GtkWidget * e_tree_get_tooltip (ETree *tree) { diff --git a/e-util/e-tree.h b/e-util/e-tree.h index 6a2745c7c2..5db26b460c 100644 --- a/e-util/e-tree.h +++ b/e-util/e-tree.h @@ -272,7 +272,6 @@ GdkDragContext *e_tree_drag_begin (ETree *tree, gboolean e_tree_is_dragging (ETree *tree); -gint e_tree_row_count (ETree *tree); GtkWidget * e_tree_get_tooltip (ETree *tree); typedef enum { |