aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-08 05:13:41 +0800
committerDan Winship <danw@src.gnome.org>2000-07-08 05:13:41 +0800
commit011e287e7d36126a6fbf88992c14a9b4c0344739 (patch)
treecf4415f66ef195463161874d055686b5ea79621e /camel/camel-folder.c
parent665da2c706a462d92c70fad3e41974fe5f4d8c30 (diff)
downloadgsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar
gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar.gz
gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar.bz2
gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar.lz
gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar.xz
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/camel-folder.c')
-rw-r--r--camel/camel-folder.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index aa5991b48b..8420bd75cf 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -119,8 +119,9 @@ static void delete_message (CamelFolder *folder,
static const CamelMessageInfo *get_message_info (CamelFolder *folder,
const char *uid);
-static GList *search_by_expression (CamelFolder *folder, const char *exp,
- CamelException *ex);
+static GPtrArray *search_by_expression (CamelFolder *folder,
+ const char *exp,
+ CamelException *ex);
static void copy_message_to (CamelFolder *source,
const char *uid,
@@ -1018,7 +1019,7 @@ camel_folder_has_search_capability (CamelFolder *folder)
return folder->has_search_capability;
}
-static GList *
+static GPtrArray *
search_by_expression (CamelFolder *folder, const char *expression,
CamelException *ex)
{
@@ -1038,7 +1039,7 @@ search_by_expression (CamelFolder *folder, const char *expression,
* Return value: a list of uids of matching messages. The caller must
* free the list and each of the elements when it is done.
**/
-GList *
+GPtrArray *
camel_folder_search_by_expression (CamelFolder *folder, const char *expression,
CamelException *ex)
{