aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-04-29 04:22:12 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-04-29 04:22:12 +0800
commit8f52c9c406a83a041ae124def46c18b7ee6b6148 (patch)
tree91bb8f4dcee073c491e28e384638862e1da5abc2
parent6465c6664980dee8c4d33e75caa158af3b8c5d7c (diff)
downloadgsoc2013-evolution-8f52c9c406a83a041ae124def46c18b7ee6b6148.tar.gz
gsoc2013-evolution-8f52c9c406a83a041ae124def46c18b7ee6b6148.tar.zst
gsoc2013-evolution-8f52c9c406a83a041ae124def46c18b7ee6b6148.zip
Fixes #41916
2003-04-28 Rodrigo Moya <rodrigo@ximian.com> Fixes #41916 * evolution-storage.c (get_folder_list_foreach): removed comment which does not apply any more. (impl_Storage__get_folderList): set sequence's maximum number of items to e_folder_tree_get_count as is. svn path=/trunk/; revision=20994
-rw-r--r--shell/ChangeLog9
-rw-r--r--shell/evolution-storage.c3
2 files changed, 10 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 92fbf0a635..dc87f1ae0e 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,12 @@
+2003-04-28 Rodrigo Moya <rodrigo@ximian.com>
+
+ Fixes #41916
+
+ * evolution-storage.c (get_folder_list_foreach): removed comment which
+ does not apply any more.
+ (impl_Storage__get_folderList): set sequence's maximum number of items
+ to e_folder_tree_get_count as is.
+
2003-04-28 Ettore Perazzoli <ettore@ximian.com>
Patch from Sanshao Jiang <alex.jiang@sun.com>.
diff --git a/shell/evolution-storage.c b/shell/evolution-storage.c
index df1f29879b..b083e5d794 100644
--- a/shell/evolution-storage.c
+++ b/shell/evolution-storage.c
@@ -312,7 +312,6 @@ get_folder_list_foreach (EFolderTree *tree,
corba_folder = (GNOME_Evolution_Folder *) data;
folder_list = (GNOME_Evolution_FolderList *) closure;
- /* The root folder has no data. */
if (corba_folder == NULL)
return;
@@ -343,7 +342,7 @@ impl_Storage__get_folderList (PortableServer_Servant servant,
priv = storage->priv;
folder_list = GNOME_Evolution_FolderList__alloc ();
- folder_list->_maximum = e_folder_tree_get_count (priv->folder_tree) - 1;
+ folder_list->_maximum = e_folder_tree_get_count (priv->folder_tree);
folder_list->_length = 0;
folder_list->_buffer = CORBA_sequence_GNOME_Evolution_Folder_allocbuf (folder_list->_maximum);