aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-09-27 07:52:25 +0800
committerChris Lahey <clahey@src.gnome.org>2001-09-27 07:52:25 +0800
commitcead0767026a44d33ae872f5ab8a9bc0121ef7dd (patch)
treebb36cae5fafb6268d1face9decf9a76756023f8e /mail/message-list.c
parent115673976ef283adb657f6d21da731b61fa34bae (diff)
downloadgsoc2013-evolution-cead0767026a44d33ae872f5ab8a9bc0121ef7dd.tar
gsoc2013-evolution-cead0767026a44d33ae872f5ab8a9bc0121ef7dd.tar.gz
gsoc2013-evolution-cead0767026a44d33ae872f5ab8a9bc0121ef7dd.tar.bz2
gsoc2013-evolution-cead0767026a44d33ae872f5ab8a9bc0121ef7dd.tar.lz
gsoc2013-evolution-cead0767026a44d33ae872f5ab8a9bc0121ef7dd.tar.xz
gsoc2013-evolution-cead0767026a44d33ae872f5ab8a9bc0121ef7dd.tar.zst
gsoc2013-evolution-cead0767026a44d33ae872f5ab8a9bc0121ef7dd.zip
Check for the root node here.
2001-09-26 Christopher James Lahey <clahey@ximian.com> * message-list.c (mlfe_callback): Check for the root node here. svn path=/trunk/; revision=13177
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index da895d619f..f78e4beb99 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -2058,6 +2058,9 @@ mlfe_callback (ETreePath path, gpointer user_data)
{
struct message_list_foreach_data *mlfe_data = user_data;
const char *uid;
+
+ if (e_tree_model_node_is_root (mlfe_data->message_list->model, path))
+ return;
uid = get_message_uid (mlfe_data->message_list,
path);