diff options
author | jacob berkman <jacob@ximian.com> | 2001-06-28 04:58:40 +0800 |
---|---|---|
committer | Jacob Berkman <jberkman@src.gnome.org> | 2001-06-28 04:58:40 +0800 |
commit | 513c03c3f87985c02715e6a6bd19d5539cf2fb97 (patch) | |
tree | e313d862c896c66f06643e9f540f53c43e729e88 /mail/folder-browser.c | |
parent | f348217fedd68efe04d79b3615bf5286dd465697 (diff) | |
download | gsoc2013-evolution-513c03c3f87985c02715e6a6bd19d5539cf2fb97.tar.gz gsoc2013-evolution-513c03c3f87985c02715e6a6bd19d5539cf2fb97.tar.zst gsoc2013-evolution-513c03c3f87985c02715e6a6bd19d5539cf2fb97.zip |
work around an e-tree bug
2001-06-27 jacob berkman <jacob@ximian.com>
* folder-browser.c (save_cursor_pos): work around an e-tree bug
svn path=/trunk/; revision=10541
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 66365d2745..78a7570edd 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -801,6 +801,9 @@ save_cursor_pos (FolderBrowser *fb) row = e_tree_row_of_node (fb->message_list->tree, node); + if (row == -1) + return 0; + e_tree_get_cell_geometry (fb->message_list->tree, row, 0, NULL, &y, NULL, &height); |