From ff25bf1a2511ae7d125ec34d251a229d3a985858 Mon Sep 17 00:00:00 2001 From: djcb Date: Fri, 26 Sep 2014 15:22:07 +0300 Subject: [PATCH] Don't use g_clear_pointer yet, it's too new. Do it the old way. --- lib/mu-store-priv.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/mu-store-priv.hh b/lib/mu-store-priv.hh index 96088f8b..6271b7e7 100644 --- a/lib/mu-store-priv.hh +++ b/lib/mu-store-priv.hh @@ -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); }