diff options
author | Richard Hughes <richard@hughsie.com> | 2016-03-01 08:32:41 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-03-01 08:32:41 +0000 |
commit | be7aac023dab69159cceccaa75e7ee5c0c1add2b (patch) | |
tree | 627ee106d1ac7f125d830509542a74d380805355 | |
parent | 9b13cb7d3ee4154ef646e31e91d994dad2531bf5 (diff) | |
parent | 9bbe0a384a806799841ee084d2254b6dbed3b3f7 (diff) | |
download | appstream-glib-be7aac023dab69159cceccaa75e7ee5c0c1add2b.tar.gz |
Merge pull request #95 from robert-ancell/function-ordering
Fix ordering of parameters to as_store_search_app_info
-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 |