aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/message-list.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a946bb7450..fbae8149de 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-19 Chris Toshok <toshok@helixcode.com>
+
+ * message-list.c (nuke_uids): e-tree-model is now opaque. use the
+ accessor to get the root node.
+
2000-10-19 Jeffrey Stedfast <fejj@helixcode.com>
* mail-callbacks.c: #include "mail-vfolder.h"
diff --git a/mail/message-list.c b/mail/message-list.c
index 5dc2a5fde2..11c75ad9b5 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1342,9 +1342,11 @@ static void
nuke_uids (GtkObject *o)
{
ETreeModel *etm = E_TREE_MODEL (o);
+ ETreePath *root = e_tree_model_get_root (etm);
- if (etm->root)
- e_tree_model_node_traverse (etm, etm->root, nuke_uids_cb, NULL);
+ if (root)
+ e_tree_model_node_traverse (etm, root,
+ nuke_uids_cb, NULL);
}
static void