Don't use g_clear_pointer yet, it's too new.

Do it the old way.
This commit is contained in:
djcb 2014-09-26 15:22:07 +03:00
parent 1a19abdc8a
commit ff25bf1a25
1 changed files with 2 additions and 1 deletions

View File

@ -188,7 +188,8 @@ public:
}
void set_version (const char *version) {
g_clear_pointer (&_version, g_free);
g_free (_version);
_version = NULL;
mu_store_set_metadata (this, MU_STORE_VERSION_KEY, version, NULL);
}