* create mu-error.h, update some functions to use GError for errors

This commit is contained in:
Dirk-Jan C. Binnema
2010-11-24 20:04:20 +02:00
parent a5b913e66c
commit e64e24aa61
12 changed files with 102 additions and 31 deletions

View File

@ -19,7 +19,7 @@ include $(top_srcdir)/gtest.mk
INCLUDES=$(XAPIAN_CXXFLAGS) \
$(GMIME_CFLAGS) \
$(GLIB_CFLAGS) \
-I ${top_srcdir} \
-I ${top_srcdir} -I ${top_srcdir}/src \
-DMU_TESTMAILDIR=\"${abs_srcdir}/testdir/\" \
-DMU_TESTMAILDIR2=\"${abs_srcdir}/testdir2/\" \
-DMU_PROGRAM=\"${abs_top_builddir}/src/mu\" \

View File

@ -113,7 +113,7 @@ test_mu_index (void)
xpath = g_strdup_printf ("%s%c%s", muhome, G_DIR_SEPARATOR,
"xapian");
store = mu_store_new (xpath);
store = mu_store_new (xpath, NULL);
g_assert (store);
g_assert_cmpuint (mu_store_count (store), ==, 4);