* fix glib warnings (compile time, runtime): add error gquark, don't use g_atexit
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user