summaryrefslogtreecommitdiff
path: root/lib/test-lib.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-12-07 16:16:02 +0100
committerAlexander Larsson <alexl@redhat.com>2015-12-07 16:16:02 +0100
commiteca699ca5a73fbaacc660706b580d02542672ad4 (patch)
tree921553e8d70c86d282909f16d4bf6e9207d440f8 /lib/test-lib.c
parenta8a7b28ce978c0b919c4b6485c2f5b82f465c023 (diff)
downloadxdg-app-eca699ca5a73fbaacc660706b580d02542672ad4.tar.gz
lib: Rename xdg_app_remote_list_refs to xdg_app_remote_list_refs_sync
Diffstat (limited to 'lib/test-lib.c')
-rw-r--r--lib/test-lib.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/test-lib.c b/lib/test-lib.c
index 8244258..6521818 100644
--- a/lib/test-lib.c
+++ b/lib/test-lib.c
@@ -94,18 +94,20 @@ main (int argc, char *argv[])
xdg_app_remote_get_gpg_verify (remotes[i]),
xdg_app_remote_get_noenumerate (remotes[i]));
- refs = xdg_app_remote_list_refs (remotes[i],
- NULL, NULL);
+ g_print ("\n**** Listing remote refs on %s\n", xdg_app_remote_get_name (remotes[i]));
+ refs = xdg_app_remote_list_refs_sync (remotes[i],
+ NULL, NULL);
if (refs)
{
for (j = 0; refs[j] != NULL; j++)
{
- g_print ("%d %s %s %s %s\n",
+ g_print ("%d %s %s %s %s %s\n",
xdg_app_ref_get_kind (XDG_APP_REF(refs[j])),
xdg_app_ref_get_name (XDG_APP_REF(refs[j])),
xdg_app_ref_get_arch (XDG_APP_REF(refs[j])),
xdg_app_ref_get_version (XDG_APP_REF(refs[j])),
- xdg_app_ref_get_commit (XDG_APP_REF(refs[j])));
+ xdg_app_ref_get_commit (XDG_APP_REF(refs[j])),
+ xdg_app_remote_ref_get_remote_name (refs[j]));
}
}
}