* mug,mug2: update for api changes

This commit is contained in:
Dirk-Jan C. Binnema
2011-06-19 21:23:46 +03:00
parent a356dbec10
commit f51fbebe9a
2 changed files with 24 additions and 13 deletions

View File

@ -1,3 +1,4 @@
/* -*-mode: c; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-*/
/*
** Copyright (C) 2008-2011 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
@ -334,8 +335,8 @@ run_query (const char *xpath, const char *query, MugMsgListView * self)
return NULL;
}
iter =
mu_query_run (xapian, query, MU_MSG_FIELD_ID_DATE, TRUE, &err);
iter = mu_query_run (xapian, query, FALSE, MU_MSG_FIELD_ID_DATE,
TRUE, &err);
mu_query_destroy (xapian);
if (!iter) {
g_warning ("Error: %s", err->message);