diff options
author | Kalev Lember <klember@redhat.com> | 2016-12-29 22:05:13 +0100 |
---|---|---|
committer | Kalev Lember <klember@redhat.com> | 2016-12-29 22:05:13 +0100 |
commit | 959972c57e1b73a8ffd60e5719f8e10301a2ab3c (patch) | |
tree | 37796707e5799a50cf2e37138a631d91ff860997 | |
parent | 15341e97c6e91cb5ff973c962367bd833a205613 (diff) | |
download | appstream-glib-959972c57e1b73a8ffd60e5719f8e10301a2ab3c.tar.gz |
trivial: Fix typos in comments
-rw-r--r-- | libappstream-glib/as-utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libappstream-glib/as-utils.c b/libappstream-glib/as-utils.c index f59525c..ba5e11a 100644 --- a/libappstream-glib/as-utils.c +++ b/libappstream-glib/as-utils.c @@ -218,7 +218,7 @@ as_utils_is_spdx_license_id (const gchar *license_id) if (g_str_has_prefix (license_id, "LicenseRef-")) return TRUE; - /* load the readonly data section and look for the icon name */ + /* load the readonly data section and look for the license ID */ data = g_resource_lookup_data (as_get_resource (), "/org/freedesktop/appstream-glib/as-license-ids.txt", G_RESOURCE_LOOKUP_FLAGS_NONE, @@ -261,7 +261,7 @@ as_utils_is_environment_id (const gchar *environment_id) g_autoptr(GBytes) data = NULL; g_autofree gchar *key = NULL; - /* load the readonly data section and look for the icon name */ + /* load the readonly data section and look for the environment ID */ data = g_resource_lookup_data (as_get_resource (), "/org/freedesktop/appstream-glib/as-environment-ids.txt", G_RESOURCE_LOOKUP_FLAGS_NONE, @@ -288,7 +288,7 @@ as_utils_is_category_id (const gchar *category_id) g_autoptr(GBytes) data = NULL; g_autofree gchar *key = NULL; - /* load the readonly data section and look for the icon name */ + /* load the readonly data section and look for the category ID */ data = g_resource_lookup_data (as_get_resource (), "/org/freedesktop/appstream-glib/as-category-ids.txt", G_RESOURCE_LOOKUP_FLAGS_NONE, @@ -482,7 +482,7 @@ as_utils_spdx_license_detokenize (gchar **license_tokens) * Checks the licence string to check it being a valid licence. * NOTE: SPDX licences can't typically contain brackets. * - * Returns: %TRUE if the icon is a valid "SPDX license" + * Returns: %TRUE if the license is a valid "SPDX license" * * Since: 0.2.5 **/ |