summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-04-08 10:57:41 +0100
committerRichard Hughes <richard@hughsie.com>2014-04-08 10:57:41 +0100
commit40e48343af0399ec7c04804ebb4e2e2c9dac8191 (patch)
treed613c164d5fbfa1c131050a325b5222d44254762
parent7741ba78f85492c95a0f515af4c98881a5b8e6de (diff)
downloadappstream-glib-40e48343af0399ec7c04804ebb4e2e2c9dac8191.tar.gz
trivial: Fix up the gtk-doc markup for the last commit
-rw-r--r--libappstream-glib/as-app.c6
-rw-r--r--libappstream-glib/as-app.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c
index fdf393b..67abccb 100644
--- a/libappstream-glib/as-app.c
+++ b/libappstream-glib/as-app.c
@@ -1762,15 +1762,15 @@ as_app_search_matches (AsApp *app, const gchar *search)
* Since: 0.1.3
*/
guint
-as_app_search_matches_all (AsApp *app, gchar **values)
+as_app_search_matches_all (AsApp *app, gchar **search)
{
guint i;
guint matches_sum = 0;
guint tmp;
/* do *all* search keywords match */
- for (i = 0; values[i] != NULL; i++) {
- tmp = as_app_search_matches (app, values[i]);
+ for (i = 0; search[i] != NULL; i++) {
+ tmp = as_app_search_matches (app, search[i]);
if (tmp == 0)
return 0;
matches_sum += tmp;
diff --git a/libappstream-glib/as-app.h b/libappstream-glib/as-app.h
index 35a99db..f7954e2 100644
--- a/libappstream-glib/as-app.h
+++ b/libappstream-glib/as-app.h
@@ -204,7 +204,7 @@ void as_app_remove_metadata (AsApp *app,
void as_app_subsume (AsApp *app,
AsApp *donor);
guint as_app_search_matches_all (AsApp *app,
- gchar **values);
+ gchar **search);
guint as_app_search_matches (AsApp *app,
const gchar *search);
gboolean as_app_parse_file (AsApp *app,