diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-02-16 16:11:01 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-02-16 16:11:01 +0100 |
commit | ac851cae9eadfbd91f7c00de56de2cbb7a93a175 (patch) | |
tree | ea948e0931ddb1ac729427d2eef25d9158ee7c05 /lib/test-lib.c | |
parent | faecde5da5ddabb61da105bc58a3f09c00660cc2 (diff) | |
download | xdg-app-ac851cae9eadfbd91f7c00de56de2cbb7a93a175.tar.gz |
lib: Return GBytes from xdg_app_installed_ref_load_metadata()
This is an ABI break, but nothing uses this yet.
Diffstat (limited to 'lib/test-lib.c')
-rw-r--r-- | lib/test-lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test-lib.c b/lib/test-lib.c index 45e2f34..aabe2af 100644 --- a/lib/test-lib.c +++ b/lib/test-lib.c @@ -166,7 +166,7 @@ main (int argc, char *argv[]) xdg_app_installed_ref_get_deploy_dir (app), xdg_app_installed_ref_get_is_current (app), xdg_app_installed_ref_get_installed_size (app)); - g_print ("metadata:\n%s\n", xdg_app_installed_ref_load_metadata (app, NULL, NULL)); + g_print ("metadata:\n%s\n", (char *)g_bytes_get_data (xdg_app_installed_ref_load_metadata (app, NULL, NULL), NULL)); } } |