summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-store.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2016-03-01 15:08:39 +1300
committerRobert Ancell <robert.ancell@canonical.com>2016-03-01 15:08:39 +1300
commit9bbe0a384a806799841ee084d2254b6dbed3b3f7 (patch)
tree627ee106d1ac7f125d830509542a74d380805355 /libappstream-glib/as-store.c
parent9b13cb7d3ee4154ef646e31e91d994dad2531bf5 (diff)
downloadappstream-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.c4
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