From 472ffcd2383a038d267929c3a6ceaa473bf26bb1 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 20 Oct 2000 05:24:35 +0000 Subject: e-tree-model is now opaque. use the accessor to get the root node. 2000-10-19 Chris Toshok * message-list.c (nuke_uids): e-tree-model is now opaque. use the accessor to get the root node. svn path=/trunk/; revision=6073 --- mail/message-list.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mail/message-list.c') 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 -- cgit v1.2.3