From 540e1d7671ec843c2db2d03810d948f879ac1bfc Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 12 Jul 2000 20:37:00 +0000 Subject: 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 --- camel/providers/pop3/camel-pop3-folder.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'camel/providers/pop3') 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) -{ - ; -} - -- cgit v1.2.3