summaryrefslogtreecommitdiff
path: root/libappstream-builder/plugins/asb-plugin-font.c
diff options
context:
space:
mode:
authorKalev Lember <klember@redhat.com>2015-09-10 15:12:05 +0200
committerKalev Lember <klember@redhat.com>2015-09-10 15:21:38 +0200
commitb1bc5776bb3bbac508b793d00c80cd78d82cc8b3 (patch)
tree3347a2d9d87dd70d4903a1ff62d49e370305cfc1 /libappstream-builder/plugins/asb-plugin-font.c
parent752e45e990a00331290067bdcb07a2f4ab2001ad (diff)
downloadappstream-glib-b1bc5776bb3bbac508b793d00c80cd78d82cc8b3.tar.gz
Use glib's cleanup functions for GString
... and bump glib dep to 2.45.8 for g_autoptr(GString) support.
Diffstat (limited to 'libappstream-builder/plugins/asb-plugin-font.c')
-rw-r--r--libappstream-builder/plugins/asb-plugin-font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-font.c b/libappstream-builder/plugins/asb-plugin-font.c
index b79669c..2a7cc6c 100644
--- a/libappstream-builder/plugins/asb-plugin-font.c
+++ b/libappstream-builder/plugins/asb-plugin-font.c
@@ -83,7 +83,7 @@ asb_font_fix_metadata (AsbApp *app)
gint percentage;
guint j;
g_autoptr(GList) langs = NULL;
- _cleanup_string_free_ GString *str = NULL;
+ g_autoptr(GString) str = NULL;
struct {
const gchar *lang;
const gchar *value;