diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2008-07-31 12:19:28 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2008-07-31 12:19:28 +0800 |
commit | e202e2f07ff9359e70f8c35d44160ff7ddd49a8b (patch) | |
tree | 273458f5d8d506519618341c1df776e837ffe566 /mail/message-list.c | |
parent | 628f227cd1b69fea40cefaee0ea00aba3c9729a9 (diff) | |
download | gsoc2013-evolution-e202e2f07ff9359e70f8c35d44160ff7ddd49a8b.tar.gz gsoc2013-evolution-e202e2f07ff9359e70f8c35d44160ff7ddd49a8b.tar.zst gsoc2013-evolution-e202e2f07ff9359e70f8c35d44160ff7ddd49a8b.zip |
** Fix for bug #545436
2008-07-31 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #545436
* mail/message-list.c: Check the info before accessing it.
svn path=/trunk/; revision=35870
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 8c62fc4244..6467f73d7a 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -2590,7 +2590,7 @@ find_next_selectable (MessageList *ml) return NULL; info = get_message_info (ml, node); - if (is_node_selectable (ml, info)) + if (info && is_node_selectable (ml, info)) return NULL; last = e_tree_row_count (ml->tree); @@ -2604,7 +2604,7 @@ find_next_selectable (MessageList *ml) while (vrow < last) { node = e_tree_node_at_row (et, vrow); info = get_message_info (ml, node); - if (is_node_selectable (ml, info)) + if (info && is_node_selectable (ml, info)) return g_strdup (camel_message_info_uid (info)); vrow ++; } @@ -2616,7 +2616,7 @@ find_next_selectable (MessageList *ml) while (vrow >= 0) { node = e_tree_node_at_row (et, vrow); info = get_message_info (ml, node); - if (is_node_selectable (ml, info)) + if (info && is_node_selectable (ml, info)) return g_strdup (camel_message_info_uid (info)); vrow --; } |