From 011e287e7d36126a6fbf88992c14a9b4c0344739 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 7 Jul 2000 21:13:41 +0000 Subject: 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 --- camel/providers/imap/camel-imap-folder.c | 4 ++-- camel/providers/mbox/camel-mbox-folder.c | 4 ++-- camel/providers/nntp/camel-nntp-folder.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'camel/providers') 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); -- cgit v1.2.3