From 820fc32eb4be3745f9cc7554bd954f513ec45d84 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 26 Sep 2001 10:17:29 +0000 Subject: Set cursor_path = NULL here. 2001-09-26 Christopher James Lahey * e-tree-selection-model.c (etsm_node_changed, etsm_destroy): Set cursor_path = NULL here. svn path=/trunk/; revision=13144 --- widgets/table/e-tree-selection-model.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widgets/table/e-tree-selection-model.c b/widgets/table/e-tree-selection-model.c index d7dcb7b648..1a17ed2da1 100644 --- a/widgets/table/e-tree-selection-model.c +++ b/widgets/table/e-tree-selection-model.c @@ -346,6 +346,7 @@ etsm_node_changed (ETreeModel *etm, ETreePath node, ETreeSelectionModel *etsm) int cursor_row; etsm_real_clear (etsm); + etsm->priv->cursor_path = NULL; if (e_tree_model_has_get_node_by_id (etm) && etsm->priv->cursor_save_id) { ETreePath cursor_path; @@ -525,6 +526,7 @@ etsm_destroy (GtkObject *object) etsm = E_TREE_SELECTION_MODEL (object); etsm_real_clear (etsm); + etsm->priv->cursor_path = NULL; drop_model(etsm); drop_ets(etsm); -- cgit v1.2.3