diff options
author | Richard Hughes <richard@hughsie.com> | 2014-10-01 15:57:10 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-10-01 16:20:50 +0100 |
commit | 50712fde3033fa4e2928a83fa4d62d45b55e1fef (patch) | |
tree | d1015d2972b9b2f1585a5dcecc170876d68570ad /libappstream-glib/as-icon.c | |
parent | 6c60a793c51abef4cd6e2efdbc54992ce5e5baaa (diff) | |
download | appstream-glib-50712fde3033fa4e2928a83fa4d62d45b55e1fef.tar.gz |
Break Base64 encoded data up into block of 76 columns
Diffstat (limited to 'libappstream-glib/as-icon.c')
-rw-r--r-- | libappstream-glib/as-icon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libappstream-glib/as-icon.c b/libappstream-glib/as-icon.c index 1aea474..c1d5e07 100644 --- a/libappstream-glib/as-icon.c +++ b/libappstream-glib/as-icon.c @@ -426,7 +426,8 @@ as_icon_node_insert (AsIcon *icon, GNode *parent, gdouble api_version) as_node_insert (n, "name", priv->name, 0, NULL); data = g_base64_encode (g_bytes_get_data (priv->data, NULL), g_bytes_get_size (priv->data)); - as_node_insert (n, "filecontent", data, 0, NULL); + as_node_insert (n, "filecontent", data, + AS_NODE_INSERT_FLAG_BASE64_ENCODED, NULL); return n; } |