summaryrefslogtreecommitdiff
path: root/lib/test-lib.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-01-19 15:18:44 +0100
committerAlexander Larsson <alexl@redhat.com>2016-01-19 15:18:44 +0100
commit1d89c2fcab688ce15b377353c4356690c9824e7a (patch)
tree0efa140c95c08c6e5c3fb41b05ee8d21a3d9da76 /lib/test-lib.c
parent2bede3495290febc1d81e0e4d700ae641ff3b034 (diff)
downloadxdg-app-1d89c2fcab688ce15b377353c4356690c9824e7a.tar.gz
lib: Add xdg_app_remote_get_appstream_dir
Diffstat (limited to 'lib/test-lib.c')
-rw-r--r--lib/test-lib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/test-lib.c b/lib/test-lib.c
index 6b2a14a..45e2f34 100644
--- a/lib/test-lib.c
+++ b/lib/test-lib.c
@@ -243,13 +243,14 @@ main (int argc, char *argv[])
{
XdgAppRemote *remote = g_ptr_array_index(remotes, i);
g_autoptr(GPtrArray) refs = NULL;
- g_print ("\nRemote: %s %d %s %s %d %d\n",
+ g_print ("\nRemote: %s %d %s %s %d %d %s\n",
xdg_app_remote_get_name (remote),
xdg_app_remote_get_prio (remote),
xdg_app_remote_get_url (remote),
xdg_app_remote_get_title (remote),
xdg_app_remote_get_gpg_verify (remote),
- xdg_app_remote_get_noenumerate (remote));
+ xdg_app_remote_get_noenumerate (remote),
+ g_file_get_path (xdg_app_remote_get_appstream_dir (remote, NULL)));
g_print ("\n**** Listing remote refs on %s\n", xdg_app_remote_get_name (remote));
refs = xdg_app_installation_list_remote_refs_sync (installation, xdg_app_remote_get_name (remote),