mirror of https://github.com/djcb/mu.git
Don't use g_clear_pointer yet, it's too new.
Do it the old way.
This commit is contained in:
parent
1a19abdc8a
commit
ff25bf1a25
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue