diff options
author | Dan Winship <danw@src.gnome.org> | 2000-07-24 23:16:09 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-07-24 23:16:09 +0800 |
commit | 8c4533cc2dec08f8a30af0ffe7b8cd4c39440d3e (patch) | |
tree | 7c5adb807b426de2ad3730f664f7c54cb94b09fa /camel/camel-folder.c | |
parent | 34057bd1f00badee56d631c7c39f13b2731e08f5 (diff) | |
download | gsoc2013-evolution-8c4533cc2dec08f8a30af0ffe7b8cd4c39440d3e.tar gsoc2013-evolution-8c4533cc2dec08f8a30af0ffe7b8cd4c39440d3e.tar.gz gsoc2013-evolution-8c4533cc2dec08f8a30af0ffe7b8cd4c39440d3e.tar.bz2 gsoc2013-evolution-8c4533cc2dec08f8a30af0ffe7b8cd4c39440d3e.tar.lz gsoc2013-evolution-8c4533cc2dec08f8a30af0ffe7b8cd4c39440d3e.tar.xz gsoc2013-evolution-8c4533cc2dec08f8a30af0ffe7b8cd4c39440d3e.tar.zst gsoc2013-evolution-8c4533cc2dec08f8a30af0ffe7b8cd4c39440d3e.zip |
Remove camel_folder_get_message_uid, which was not used, and not
* camel-folder.[ch]: Remove camel_folder_get_message_uid, which
was not used, and not implemented by any provider.
* providers/nntp/camel-nntp-folder.c: Remove get_message_uid
non-implementation.
svn path=/trunk/; revision=4292
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r-- | camel/camel-folder.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c index 0b1b92b982..5b8b87af57 100644 --- a/camel/camel-folder.c +++ b/camel/camel-folder.c @@ -109,9 +109,6 @@ static GPtrArray *get_summary (CamelFolder *folder, CamelException *ex); static void free_summary (CamelFolder *folder, GPtrArray *array); -static const gchar *get_message_uid (CamelFolder *folder, - CamelMimeMessage *message, - CamelException *ex); static CamelMimeMessage *get_message (CamelFolder *folder, const gchar *uid, CamelException *ex); @@ -174,7 +171,6 @@ camel_folder_class_init (CamelFolderClass *camel_folder_class) camel_folder_class->set_message_flags = set_message_flags; camel_folder_class->get_message_user_flag = get_message_user_flag; camel_folder_class->set_message_user_flag = set_message_user_flag; - camel_folder_class->get_message_uid = get_message_uid; camel_folder_class->get_message = get_message; camel_folder_class->delete_message = delete_message; camel_folder_class->get_uids = get_uids; @@ -838,39 +834,6 @@ camel_folder_has_summary_capability (CamelFolder *folder) /* UIDs stuff */ -static const gchar * -get_message_uid (CamelFolder *folder, CamelMimeMessage *message, - CamelException *ex) -{ - g_warning ("CamelFolder::get_message_uid not implemented for `%s'", - gtk_type_name (GTK_OBJECT_TYPE (folder))); - return NULL; -} - -/** - * camel_folder_get_message_uid: - * @folder: Folder in which the UID must refer to - * @message: Message object - * @ex: a CamelException - * - * Return the UID of a message relatively to a folder. - * A message can have different UID, each one corresponding - * to a different folder, if the message is referenced in - * several folders. - * - * Return value: The UID of the message in the folder - **/ -const gchar * -camel_folder_get_message_uid (CamelFolder *folder, CamelMimeMessage *message, - CamelException *ex) -{ - g_return_val_if_fail (CAMEL_IS_FOLDER (folder), NULL); - g_return_val_if_fail (CAMEL_IS_MIME_MESSAGE (message), NULL); - - return CF_CLASS (folder)->get_message_uid (folder, message, ex); -} - - static CamelMimeMessage * get_message (CamelFolder *folder, const gchar *uid, CamelException *ex) { |