* fix glib warnings (compile time, runtime): add error gquark, don't use g_atexit

This commit is contained in:
djcb
2012-04-01 13:08:02 +03:00
parent fa10095ce2
commit bc6f9ebbb8
16 changed files with 112 additions and 83 deletions

View File

@ -78,7 +78,7 @@ mu_store_new_read_only (const char* xpath, GError **err)
return new _MuStore (xpath);
} catch (const MuStoreError& merr) {
g_set_error (err, 0, merr.mu_error(), "%s",
g_set_error (err, MU_ERROR_DOMAIN, merr.mu_error(), "%s",
merr.what().c_str());
} MU_XAPIAN_CATCH_BLOCK_G_ERROR(err, MU_ERROR_XAPIAN);