aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-tree.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-16 08:15:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-16 08:15:46 +0800
commitbd6d0c3222da89b61f04dee58ab2a2ca9fd878bc (patch)
treea52f1cf234c539776086783cc8233436911443d6 /e-util/e-tree.c
parent6ee6427afd6d158c62563c0f1bf6ba2067460dca (diff)
downloadgsoc2013-evolution-bd6d0c3222da89b61f04dee58ab2a2ca9fd878bc.tar
gsoc2013-evolution-bd6d0c3222da89b61f04dee58ab2a2ca9fd878bc.tar.gz
gsoc2013-evolution-bd6d0c3222da89b61f04dee58ab2a2ca9fd878bc.tar.bz2
gsoc2013-evolution-bd6d0c3222da89b61f04dee58ab2a2ca9fd878bc.tar.lz
gsoc2013-evolution-bd6d0c3222da89b61f04dee58ab2a2ca9fd878bc.tar.xz
gsoc2013-evolution-bd6d0c3222da89b61f04dee58ab2a2ca9fd878bc.tar.zst
gsoc2013-evolution-bd6d0c3222da89b61f04dee58ab2a2ca9fd878bc.zip
Remove e_tree_model_has_get_node_by_id().
It always returned TRUE.
Diffstat (limited to 'e-util/e-tree.c')
-rw-r--r--e-util/e-tree.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/e-util/e-tree.c b/e-util/e-tree.c
index d5ec5acc4c..17cf0deb97 100644
--- a/e-util/e-tree.c
+++ b/e-util/e-tree.c
@@ -3175,11 +3175,10 @@ hover_timeout (gpointer data)
path = e_tree_table_adapter_node_at_row (et->priv->etta, row);
if (path && e_tree_model_node_is_expandable (et->priv->model, path)) {
if (!e_tree_table_adapter_node_is_expanded (et->priv->etta, path)) {
- if (e_tree_model_has_get_node_by_id (et->priv->model))
- et->priv->expanded_list = g_list_prepend (
- et->priv->expanded_list,
- e_tree_model_get_save_id (
- et->priv->model, path));
+ et->priv->expanded_list = g_list_prepend (
+ et->priv->expanded_list,
+ e_tree_model_get_save_id (
+ et->priv->model, path));
e_tree_table_adapter_node_set_expanded (
et->priv->etta, path, TRUE);