aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-09-26 18:17:29 +0800
committerChris Lahey <clahey@src.gnome.org>2001-09-26 18:17:29 +0800
commit820fc32eb4be3745f9cc7554bd954f513ec45d84 (patch)
tree5375b9bed0c78a4b8a4a21198a3f05125fbe2430
parent20b8f6e7a7539b3c0d53893fadb72b692231ce3d (diff)
downloadgsoc2013-evolution-820fc32eb4be3745f9cc7554bd954f513ec45d84.tar
gsoc2013-evolution-820fc32eb4be3745f9cc7554bd954f513ec45d84.tar.gz
gsoc2013-evolution-820fc32eb4be3745f9cc7554bd954f513ec45d84.tar.bz2
gsoc2013-evolution-820fc32eb4be3745f9cc7554bd954f513ec45d84.tar.lz
gsoc2013-evolution-820fc32eb4be3745f9cc7554bd954f513ec45d84.tar.xz
gsoc2013-evolution-820fc32eb4be3745f9cc7554bd954f513ec45d84.tar.zst
gsoc2013-evolution-820fc32eb4be3745f9cc7554bd954f513ec45d84.zip
Set cursor_path = NULL here.
2001-09-26 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_node_changed, etsm_destroy): Set cursor_path = NULL here. svn path=/trunk/; revision=13144
-rw-r--r--widgets/table/e-tree-selection-model.c2
1 files changed, 2 insertions, 0 deletions
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);