aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-10-20 13:24:35 +0800
committerChris Toshok <toshok@src.gnome.org>2000-10-20 13:24:35 +0800
commit472ffcd2383a038d267929c3a6ceaa473bf26bb1 (patch)
tree1dbd3ccf7a94ec04788300adb7301652efb22b7a /mail
parentad83addd3b0b61f0f81d6c38aedf6017a1c24d59 (diff)
downloadgsoc2013-evolution-472ffcd2383a038d267929c3a6ceaa473bf26bb1.tar
gsoc2013-evolution-472ffcd2383a038d267929c3a6ceaa473bf26bb1.tar.gz
gsoc2013-evolution-472ffcd2383a038d267929c3a6ceaa473bf26bb1.tar.bz2
gsoc2013-evolution-472ffcd2383a038d267929c3a6ceaa473bf26bb1.tar.lz
gsoc2013-evolution-472ffcd2383a038d267929c3a6ceaa473bf26bb1.tar.xz
gsoc2013-evolution-472ffcd2383a038d267929c3a6ceaa473bf26bb1.tar.zst
gsoc2013-evolution-472ffcd2383a038d267929c3a6ceaa473bf26bb1.zip
e-tree-model is now opaque. use the accessor to get the root node.
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. svn path=/trunk/; revision=6073
Diffstat (limited to 'mail')
-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