diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2016-03-01 15:08:39 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2016-03-01 15:08:39 +1300 |
commit | 9bbe0a384a806799841ee084d2254b6dbed3b3f7 (patch) | |
tree | 627ee106d1ac7f125d830509542a74d380805355 /libappstream-glib/as-store.c | |
parent | 9b13cb7d3ee4154ef646e31e91d994dad2531bf5 (diff) | |
download | appstream-glib-9bbe0a384a806799841ee084d2254b6dbed3b3f7.tar.gz |
Fix ordering of parameters to as_store_search_app_info
This was causing system appstream loading to fail and was introduced in
commit 8abd003c.
Diffstat (limited to 'libappstream-glib/as-store.c')
-rw-r--r-- | libappstream-glib/as-store.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c index 6f616c1..b83d93d 100644 --- a/libappstream-glib/as-store.c +++ b/libappstream-glib/as-store.c @@ -2338,11 +2338,11 @@ as_store_search_per_system (AsStore *store, g_autofree gchar *dest1 = NULL; g_autofree gchar *dest2 = NULL; dest1 = g_build_filename (LOCALSTATEDIR, "lib", "app-info", NULL); - if (!as_store_search_app_info (store, flags, dest1, "system", + if (!as_store_search_app_info (store, flags, "system", dest1, cancellable, error)) return FALSE; dest2 = g_build_filename (LOCALSTATEDIR, "cache", "app-info", NULL); - if (!as_store_search_app_info (store, flags, dest2, "system", + if (!as_store_search_app_info (store, flags, "system", dest2, cancellable, error)) return FALSE; /* ignore the prefix; we actually want to use the |