diff options
author | Dan Winship <danw@src.gnome.org> | 2000-07-13 04:37:00 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-07-13 04:37:00 +0800 |
commit | 540e1d7671ec843c2db2d03810d948f879ac1bfc (patch) | |
tree | 93b23a7c4a19ef3db93730064e0a9c5035a04f81 /camel/providers/pop3 | |
parent | 4b7d13b41ff3dd03e8490108f30277f5469d40bf (diff) | |
download | gsoc2013-evolution-540e1d7671ec843c2db2d03810d948f879ac1bfc.tar gsoc2013-evolution-540e1d7671ec843c2db2d03810d948f879ac1bfc.tar.gz gsoc2013-evolution-540e1d7671ec843c2db2d03810d948f879ac1bfc.tar.bz2 gsoc2013-evolution-540e1d7671ec843c2db2d03810d948f879ac1bfc.tar.lz gsoc2013-evolution-540e1d7671ec843c2db2d03810d948f879ac1bfc.tar.xz gsoc2013-evolution-540e1d7671ec843c2db2d03810d948f879ac1bfc.tar.zst gsoc2013-evolution-540e1d7671ec843c2db2d03810d948f879ac1bfc.zip |
Useful default implementations for free_{uids,subfolder_names,summary}.
* camel-folder.c (camel_folder_free_deep,
camel_folder_free_shallow, camel_folder_free_nop): Useful default
implementations for free_{uids,subfolder_names,summary}.
(free_subfolder_names, free_uids): Make these g_warning-ing
default implementations.
* providers/*/camel-*-folder.c: Use the new functions where
appropriate, remove duplicated code.
svn path=/trunk/; revision=4120
Diffstat (limited to 'camel/providers/pop3')
-rw-r--r-- | camel/providers/pop3/camel-pop3-folder.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/camel/providers/pop3/camel-pop3-folder.c b/camel/providers/pop3/camel-pop3-folder.c index fbfb8c6129..713cb646d5 100644 --- a/camel/providers/pop3/camel-pop3-folder.c +++ b/camel/providers/pop3/camel-pop3-folder.c @@ -43,7 +43,6 @@ static void pop3_sync (CamelFolder *folder, gboolean expunge, static gint pop3_get_message_count (CamelFolder *folder, CamelException *ex); static GPtrArray *pop3_get_uids (CamelFolder *folder, CamelException *ex); -static void pop3_free_uids (CamelFolder *folder, GPtrArray *uids); static CamelMimeMessage *pop3_get_message (CamelFolder *folder, const char *uid, CamelException *ex); @@ -66,7 +65,7 @@ camel_pop3_folder_class_init (CamelPop3FolderClass *camel_pop3_folder_class) camel_folder_class->get_message_count = pop3_get_message_count; camel_folder_class->get_uids = pop3_get_uids; - camel_folder_class->free_uids = pop3_free_uids; + camel_folder_class->free_uids = camel_folder_free_nop; camel_folder_class->get_message = pop3_get_message; camel_folder_class->delete_message = pop3_delete_message; @@ -327,10 +326,3 @@ pop3_get_uids (CamelFolder *folder, CamelException *ex) return pop3_folder->uids; } - -static void -pop3_free_uids (CamelFolder *folder, GPtrArray *uids) -{ - ; -} - |