* cosmetics
This commit is contained in:
@ -79,7 +79,7 @@ mu_store_new_read_only (const char* xpath, GError **err)
|
||||
|
||||
} catch (const MuStoreError& merr) {
|
||||
mu_util_g_set_error (err, merr.mu_error(), "%s",
|
||||
merr.what().c_str());
|
||||
merr.what().c_str());
|
||||
|
||||
} MU_XAPIAN_CATCH_BLOCK_G_ERROR(err, MU_ERROR_XAPIAN);
|
||||
|
||||
@ -126,9 +126,11 @@ mu_store_needs_upgrade (MuStore *store)
|
||||
{
|
||||
g_return_val_if_fail (store, TRUE);
|
||||
|
||||
return (g_strcmp0 (mu_store_version (store),
|
||||
MU_STORE_SCHEMA_VERSION) == 0) ? FALSE : TRUE;
|
||||
// g_print ("'%s' <=> '%s'\n", mu_store_version (store),
|
||||
// MU_STORE_SCHEMA_VERSION);
|
||||
|
||||
return (g_strcmp0 (mu_store_version (store),
|
||||
MU_STORE_SCHEMA_VERSION) == 0) ? FALSE : TRUE;
|
||||
}
|
||||
|
||||
|
||||
@ -197,7 +199,7 @@ mu_store_get_docid_for_path (MuStore *store, const char* path, GError **err)
|
||||
|
||||
|
||||
time_t
|
||||
mu_store_get_timestamp (MuStore *store, const char* msgpath, GError **err)
|
||||
mu_store_get_timestamp (MuStore *store, const char *msgpath, GError **err)
|
||||
{
|
||||
char *stampstr;
|
||||
time_t rv;
|
||||
|
||||
Reference in New Issue
Block a user