* <many>: add possibility to limit max number of search results

This commit is contained in:
djcb
2011-12-07 08:15:48 +02:00
parent df35498e13
commit 8bc4d3c113
6 changed files with 28 additions and 14 deletions

View File

@ -110,7 +110,7 @@ run_and_count_matches (const char *xpath, const char *query)
}
iter = mu_query_run (mquery, query, FALSE, MU_MSG_FIELD_ID_NONE,
FALSE, NULL);
FALSE, -1, NULL);
mu_query_destroy (mquery);
g_assert (iter);
@ -278,7 +278,7 @@ test_mu_query_accented_chars_01 (void)
mu_store_unref (store);
iter = mu_query_run (query, "fünkÿ", FALSE, MU_MSG_FIELD_ID_NONE,
FALSE, NULL);
FALSE, -1, NULL);
err = NULL;
msg = mu_msg_iter_get_msg_floating (iter); /* don't unref */
if (!msg) {