* <many>: add possibility to limit max number of search results
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user