diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-16 08:15:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-16 08:15:46 +0800 |
commit | bd6d0c3222da89b61f04dee58ab2a2ca9fd878bc (patch) | |
tree | a52f1cf234c539776086783cc8233436911443d6 /e-util/e-tree.c | |
parent | 6ee6427afd6d158c62563c0f1bf6ba2067460dca (diff) | |
download | gsoc2013-evolution-bd6d0c3222da89b61f04dee58ab2a2ca9fd878bc.tar.gz 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.c | 9 |
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); |