diff options
-rw-r--r-- | shell/ChangeLog | 9 | ||||
-rw-r--r-- | shell/evolution-storage.c | 3 |
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); |