diff options
author | Michael Zucci <zucchi@src.gnome.org> | 2000-12-24 08:51:54 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-12-24 08:51:54 +0800 |
commit | d5b5b5f0979f0819561fbec36a417a6dcfc3d4d5 (patch) | |
tree | 9a4c73c9426b817b92e6f9f66237632459eb0be6 /camel/providers/imap/camel-imap-folder.c | |
parent | 6de256c2a2b23f30d35e4a2213ad5839bf141d06 (diff) | |
download | gsoc2013-evolution-d5b5b5f0979f0819561fbec36a417a6dcfc3d4d5.tar gsoc2013-evolution-d5b5b5f0979f0819561fbec36a417a6dcfc3d4d5.tar.gz gsoc2013-evolution-d5b5b5f0979f0819561fbec36a417a6dcfc3d4d5.tar.bz2 gsoc2013-evolution-d5b5b5f0979f0819561fbec36a417a6dcfc3d4d5.tar.lz gsoc2013-evolution-d5b5b5f0979f0819561fbec36a417a6dcfc3d4d5.tar.xz gsoc2013-evolution-d5b5b5f0979f0819561fbec36a417a6dcfc3d4d5.tar.zst gsoc2013-evolution-d5b5b5f0979f0819561fbec36a417a6dcfc3d4d5.zip |
Minor compilation fixes.
svn path=/trunk/; revision=7151
Diffstat (limited to 'camel/providers/imap/camel-imap-folder.c')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 952e28faa7..3f9149d627 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -89,14 +89,6 @@ static void imap_update_summary (CamelFolder *folder, int first, int last, static GPtrArray *imap_search_by_expression (CamelFolder *folder, const char *expression, CamelException *ex); static void imap_search_free (CamelFolder *folder, GPtrArray *uids); -/* flag methods */ -static guint32 imap_get_message_flags (CamelFolder *folder, const char *uid); -static void imap_set_message_flags (CamelFolder *folder, const char *uid, guint32 flags, guint32 set); -static gboolean imap_get_message_user_flag (CamelFolder *folder, const char *uid, const char *name); -static void imap_set_message_user_flag (CamelFolder *folder, const char *uid, const char *name, - gboolean value); - - static void camel_imap_folder_class_init (CamelImapFolderClass *camel_imap_folder_class) { @@ -303,7 +295,6 @@ imap_refresh_info (CamelFolder *folder, CamelException *ex) camel_folder_change_info_remove_uid (changes, camel_message_info_uid (info)); camel_folder_summary_remove (imap_folder->summary, info); camel_folder_summary_info_free(folder->summary, info); - folder_changed = TRUE; g_free (new[i].uid); i--; summary_len--; @@ -705,11 +696,13 @@ imap_search_by_expression (CamelFolder *folder, const char *expression, CamelExc camel_folder_search_set_folder (imap_folder->search, folder); summary = camel_folder_get_summary(folder); camel_folder_search_set_summary(imap_folder->search, summary); - uids = camel_folder_search_execute_expression (imap_folder->search, expression, ex); + matches = camel_folder_search_execute_expression (imap_folder->search, expression, ex); CAMEL_IMAP_FOLDER_UNLOCK(folder, search_lock); camel_folder_free_summary(folder, summary); + + return matches; } static void |