store: rework to allow for 'init'

Rework the error handling / exception for read-only / writable and new
database.
This commit is contained in:
Dirk-Jan C. Binnema
2020-02-06 20:24:38 +02:00
parent f51846eefc
commit aa10da0a63
5 changed files with 35 additions and 74 deletions

View File

@ -280,8 +280,7 @@ check_path (const char *path)
g_return_val_if_fail (path, FALSE);
if (!g_path_is_absolute (path)) {
g_warning ("%s: not an absolute path: %s",
__func__, path);
g_warning ("%s: not an absolute path: '%s'", __func__, path);
return FALSE;
}