* remove the needless batching in mu-msg-iter, mu-query, update callers

This commit is contained in:
Dirk-Jan C. Binnema
2011-06-02 17:35:46 +03:00
parent fbaa1fc66e
commit 794825e297
6 changed files with 12 additions and 16 deletions

View File

@ -73,10 +73,6 @@ char* mu_query_version (MuQuery *store)
* sorting is not desired
* @param ascending if TRUE sort in ascending (A-Z) order, otherwise,
* sort in descending (Z-A) order
* @param batchsize the size of batches to receive; this is mainly for
* reasons - it's best to get the size one wants to show the user at once.
* If you pass '0' as the batchsize, mu will use the maximum size (the count
* of documents in the database)
* @param err receives error information (if there is any); if
* function returns non-NULL, err will _not_be set. err can be NULL
* possible error (err->code) is MU_ERROR_QUERY,
@ -86,7 +82,7 @@ char* mu_query_version (MuQuery *store)
*/
MuMsgIter* mu_query_run (MuQuery *self, const char* expr,
MuMsgFieldId sortfieldid, gboolean ascending,
size_t batchsize, GError **err)
GError **err)
G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
/**