aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-tree-selection-model.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-selection-model.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-selection-model.c')
-rw-r--r--e-util/e-tree-selection-model.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/e-util/e-tree-selection-model.c b/e-util/e-tree-selection-model.c
index 208d6aefb5..c58bfd5903 100644
--- a/e-util/e-tree-selection-model.c
+++ b/e-util/e-tree-selection-model.c
@@ -173,11 +173,9 @@ etsm_pre_change (ETreeModel *etm,
g_free (etsm->priv->cursor_save_id);
etsm->priv->cursor_save_id = NULL;
- if (e_tree_model_has_get_node_by_id (etm) &&
- etsm->priv->cursor_path) {
+ if (etsm->priv->cursor_path != NULL)
etsm->priv->cursor_save_id = e_tree_model_get_save_id (
etm, etsm->priv->cursor_path);
- }
}
static void