* src/folder.c
* src/mh.c revert change of 0.8.2claws16 and use the mh_folder_destroy as folder->destroy virtual as suggested by Hiro (the mh.c code seems to have been lost around mh.c.1.20)
This commit is contained in:
parent
74bfd8b3ac
commit
dd22247ad3
4 changed files with 15 additions and 10 deletions
|
@ -1,3 +1,11 @@
|
|||
2002-09-02 [alfons] 0.8.2claws20
|
||||
|
||||
* src/folder.c
|
||||
* src/mh.c
|
||||
revert change of 0.8.2claws16 and use the mh_folder_destroy
|
||||
as folder->destroy virtual as suggested by Hiro
|
||||
(the mh.c code seems to have been lost around mh.c.1.21)
|
||||
|
||||
2002-09-02 [paul] 0.8.2claws19
|
||||
|
||||
* po/pt_BR.po
|
||||
|
|
|
@ -8,7 +8,7 @@ MINOR_VERSION=8
|
|||
MICRO_VERSION=2
|
||||
INTERFACE_AGE=0
|
||||
BINARY_AGE=0
|
||||
EXTRA_VERSION=claws19
|
||||
EXTRA_VERSION=claws20
|
||||
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
|
||||
|
||||
dnl set $target
|
||||
|
|
|
@ -144,9 +144,9 @@ void folder_remote_folder_init(Folder *folder, const gchar *name,
|
|||
void folder_destroy(Folder *folder)
|
||||
{
|
||||
g_return_if_fail(folder != NULL);
|
||||
|
||||
if (folder->destroy)
|
||||
folder->destroy(folder);
|
||||
g_return_if_fail(folder->destroy != NULL);
|
||||
|
||||
folder->destroy(folder);
|
||||
|
||||
folder_list = g_list_remove(folder_list, folder);
|
||||
|
||||
|
|
9
src/mh.c
9
src/mh.c
|
@ -130,9 +130,7 @@ static void mh_folder_init(Folder *folder, const gchar *name, const gchar *path)
|
|||
|
||||
folder_local_folder_init(folder, name, path);
|
||||
|
||||
/*
|
||||
folder->get_msg_list = mh_get_msg_list;
|
||||
*/
|
||||
/* folder->get_msg_list = mh_get_msg_list; */
|
||||
folder->fetch_msg = mh_fetch_msg;
|
||||
folder->fetch_msginfo = mh_fetch_msginfo;
|
||||
folder->add_msg = mh_add_msg;
|
||||
|
@ -143,15 +141,14 @@ static void mh_folder_init(Folder *folder, const gchar *name, const gchar *path)
|
|||
folder->remove_msg = mh_remove_msg;
|
||||
folder->remove_all_msg = mh_remove_all_msg;
|
||||
folder->is_msg_changed = mh_is_msg_changed;
|
||||
/*
|
||||
folder->scan = mh_scan_folder;
|
||||
*/
|
||||
/* folder->scan = mh_scan_folder; */
|
||||
folder->get_num_list = mh_get_num_list;
|
||||
folder->scan_tree = mh_scan_tree;
|
||||
folder->create_tree = mh_create_tree;
|
||||
folder->create_folder = mh_create_folder;
|
||||
folder->rename_folder = mh_rename_folder;
|
||||
folder->remove_folder = mh_remove_folder;
|
||||
folder->destroy = mh_folder_destroy;
|
||||
}
|
||||
|
||||
void mh_get_last_num(Folder *folder, FolderItem *item)
|
||||
|
|
Loading…
Reference in a new issue