* 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

@ -115,7 +115,7 @@ check_version (MuStore *store)
}
MuStore*
mu_store_new (const char* xpath)
mu_store_new (const char* xpath, GError **err)
{
MuStore *store (0);
@ -141,7 +141,7 @@ mu_store_new (const char* xpath)
return store;
} MU_XAPIAN_CATCH_BLOCK;
} MU_XAPIAN_CATCH_BLOCK_G_ERROR(err,MU_ERROR_XAPIAN);
try { delete store->_db; } MU_XAPIAN_CATCH_BLOCK;