diff options
author | Dan Winship <danw@src.gnome.org> | 2000-07-08 05:13:41 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-07-08 05:13:41 +0800 |
commit | 011e287e7d36126a6fbf88992c14a9b4c0344739 (patch) | |
tree | cf4415f66ef195463161874d055686b5ea79621e /camel/providers | |
parent | 665da2c706a462d92c70fad3e41974fe5f4d8c30 (diff) | |
download | gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar.gz gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar.zst gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.zip |
Make this return a GPtrArray rather than a GList.
* camel-folder.c (camel_folder_search_by_expression): Make this
return a GPtrArray rather than a GList.
* camel-folder-search.c (camel_folder_search_execute_expression):
* providers/imap/camel-imap-folder.c (imap_search_by_expression):
* providers/mbox/camel-mbox-folder.c (mbox_search_by_expression):
* providers/nntp/camel-nntp-folder.c (nntp_search_by_expression):
Update to return a GPtrArray rather than a GList.
svn path=/trunk/; revision=3958
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 4 | ||||
-rw-r--r-- | camel/providers/mbox/camel-mbox-folder.c | 4 | ||||
-rw-r--r-- | camel/providers/nntp/camel-nntp-folder.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index baa38315c7..8922d0dd4d 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -78,7 +78,7 @@ static void imap_expunge (CamelFolder *folder, CamelException *ex); static const CamelMessageInfo *imap_get_message_info (CamelFolder *folder, const char *uid); -static GList *imap_search_by_expression (CamelFolder *folder, const char *expression, CamelException *ex); +static GPtrArray *imap_search_by_expression (CamelFolder *folder, const char *expression, CamelException *ex); static void imap_finalize (GtkObject *object); @@ -1341,7 +1341,7 @@ imap_get_message_info (CamelFolder *folder, const char *uid) return info; } -static GList * +static GPtrArray * imap_search_by_expression (CamelFolder *folder, const char *expression, CamelException *ex) { return NULL; diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c index d7ee9c2376..ca313ec045 100644 --- a/camel/providers/mbox/camel-mbox-folder.c +++ b/camel/providers/mbox/camel-mbox-folder.c @@ -76,7 +76,7 @@ static void mbox_delete_message (CamelFolder *folder, const gchar *uid, CamelExc static const CamelMessageInfo *mbox_get_message_info (CamelFolder *folder, const char *uid); -static GList *mbox_search_by_expression(CamelFolder *folder, const char *expression, CamelException *ex); +static GPtrArray *mbox_search_by_expression(CamelFolder *folder, const char *expression, CamelException *ex); static guint32 mbox_get_message_flags (CamelFolder *folder, const char *uid, CamelException *ex); static void mbox_set_message_flags (CamelFolder *folder, const char *uid, guint32 flags, guint32 set, CamelException *ex); @@ -496,7 +496,7 @@ mbox_get_message_info (CamelFolder *folder, const char *uid) return camel_folder_summary_uid (CAMEL_FOLDER_SUMMARY (mbox_folder->summary), uid); } -static GList * +static GPtrArray * mbox_search_by_expression (CamelFolder *folder, const char *expression, CamelException *ex) { CamelMboxFolder *mbox_folder = CAMEL_MBOX_FOLDER (folder); diff --git a/camel/providers/nntp/camel-nntp-folder.c b/camel/providers/nntp/camel-nntp-folder.c index a3cfc49d26..033259a1cd 100644 --- a/camel/providers/nntp/camel-nntp-folder.c +++ b/camel/providers/nntp/camel-nntp-folder.c @@ -359,7 +359,7 @@ nntp_folder_free_subfolder_names (CamelFolder *folder, GPtrArray *subfolders) } } -static GList* +static GPtrArray* nntp_folder_search_by_expression (CamelFolder *folder, const char *expression, CamelException *ex) { g_assert (0); |