summaryrefslogtreecommitdiff
path: root/libappstream-glib
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2019-04-08 13:01:25 +0100
committerRichard Hughes <richard@hughsie.com>2019-04-08 13:02:05 +0100
commit843caabdeca6ae15f400f38536bc666340c30465 (patch)
treedb13077c9341d2f5db71f3d2e99845e54bd26982 /libappstream-glib
parentf9acd7b4f2362402f5a23f80e0a27552ea76e3e6 (diff)
downloadappstream-glib-843caabdeca6ae15f400f38536bc666340c30465.tar.gz
trivial: Fix some typos spotted using codespell
Diffstat (limited to 'libappstream-glib')
-rw-r--r--libappstream-glib/as-app-builder.c2
-rw-r--r--libappstream-glib/as-app-inf.c2
-rw-r--r--libappstream-glib/as-app-validate.c2
-rw-r--r--libappstream-glib/as-inf.c8
-rw-r--r--libappstream-glib/as-node.c2
-rw-r--r--libappstream-glib/as-release.c2
-rw-r--r--libappstream-glib/as-self-test.c4
-rw-r--r--libappstream-glib/as-store-cab.c4
-rw-r--r--libappstream-glib/as-store.c2
-rw-r--r--libappstream-glib/as-utils.c2
-rw-r--r--libappstream-glib/as-version.c2
11 files changed, 16 insertions, 16 deletions
diff --git a/libappstream-glib/as-app-builder.c b/libappstream-glib/as-app-builder.c
index 659abdb..16185ed 100644
--- a/libappstream-glib/as-app-builder.c
+++ b/libappstream-glib/as-app-builder.c
@@ -144,7 +144,7 @@ as_app_builder_search_locale_gettext (AsAppBuilderContext *ctx,
if (dir == NULL)
return FALSE;
- /* do a first pass at this, trying to find the prefered .mo */
+ /* do a first pass at this, trying to find the preferred .mo */
mo_paths = g_ptr_array_new_with_free_func (g_free);
while ((filename = g_dir_read_name (dir)) != NULL) {
g_autofree gchar *path = NULL;
diff --git a/libappstream-glib/as-app-inf.c b/libappstream-glib/as-app-inf.c
index 95b873c..4206cf2 100644
--- a/libappstream-glib/as-app-inf.c
+++ b/libappstream-glib/as-app-inf.c
@@ -19,6 +19,6 @@ as_app_parse_inf_file (AsApp *app,
g_set_error (error,
AS_INF_ERROR,
AS_INF_ERROR_FAILED,
- "Loading .inf data is no longer suported, see libginf");
+ "Loading .inf data is no longer supported, see libginf");
return FALSE;
}
diff --git a/libappstream-glib/as-app-validate.c b/libappstream-glib/as-app-validate.c
index 248e9b6..04c4332 100644
--- a/libappstream-glib/as-app-validate.c
+++ b/libappstream-glib/as-app-validate.c
@@ -1167,7 +1167,7 @@ as_app_validate_check_id (AsAppValidateHelper *helper, const gchar *id)
* @flags: the #AsAppValidateFlags to use, e.g. %AS_APP_VALIDATE_FLAG_NONE
* @error: A #GError or %NULL.
*
- * Validates data in the instance for style and consitency.
+ * Validates data in the instance for style and consistency.
*
* Returns: (transfer container) (element-type AsProblem): A list of problems, or %NULL
*
diff --git a/libappstream-glib/as-inf.c b/libappstream-glib/as-inf.c
index 72b64ca..ab6e1d6 100644
--- a/libappstream-glib/as-inf.c
+++ b/libappstream-glib/as-inf.c
@@ -42,7 +42,7 @@ G_DEFINE_QUARK (as-inf-error-quark, as_inf_error)
* Repairs .inf file data and opens it as a keyfile.
*
* Important: The group and keynames are all forced to lower case as INF files
- * are specified as case insensitve and GKeyFile *is* case sensitive.
+ * are specified as case insensitive and GKeyFile *is* case sensitive.
* Any backslashes or spaces in the key name are also converted to '_'.
*
* Returns: %TRUE for success
@@ -58,7 +58,7 @@ as_inf_load_data (GKeyFile *keyfile,
g_set_error (error,
AS_INF_ERROR,
AS_INF_ERROR_FAILED,
- "Loading .inf data is no longer suported, see libginf");
+ "Loading .inf data is no longer supported, see libginf");
return FALSE;
}
@@ -84,7 +84,7 @@ as_inf_load_file (GKeyFile *keyfile,
g_set_error (error,
AS_INF_ERROR,
AS_INF_ERROR_FAILED,
- "Loading .inf files is no longer suported, see libginf");
+ "Loading .inf files is no longer supported, see libginf");
return FALSE;
}
@@ -106,6 +106,6 @@ as_inf_get_driver_version (GKeyFile *keyfile, guint64 *timestamp, GError **error
g_set_error (error,
AS_INF_ERROR,
AS_INF_ERROR_FAILED,
- "Loading .inf files is no longer suported, see libginf");
+ "Loading .inf files is no longer supported, see libginf");
return NULL;
}
diff --git a/libappstream-glib/as-node.c b/libappstream-glib/as-node.c
index cb3ad5c..40ef277 100644
--- a/libappstream-glib/as-node.c
+++ b/libappstream-glib/as-node.c
@@ -492,7 +492,7 @@ as_node_to_xml_string (GString *xml,
* @text_len: length of @text
*
* Converts pretty-formatted source text into a format suitable for AppStream.
- * This might include joining paragraphs, supressing newlines or doing other
+ * This might include joining paragraphs, suppressing newlines or doing other
* sanity checks to the text.
*
* Returns: (transfer full): a new string
diff --git a/libappstream-glib/as-release.c b/libappstream-glib/as-release.c
index 6a71f99..85d5d1e 100644
--- a/libappstream-glib/as-release.c
+++ b/libappstream-glib/as-release.c
@@ -1004,7 +1004,7 @@ as_release_node_parse (AsRelease *release, GNode *node,
xml->str);
}
- /* AppData: mutliple languages encoded in one <description> tag */
+ /* AppData: multiple languages encoded in one <description> tag */
} else {
n = as_node_find (node, "description");
if (n != NULL) {
diff --git a/libappstream-glib/as-self-test.c b/libappstream-glib/as-self-test.c
index 03e97b4..d065256 100644
--- a/libappstream-glib/as-self-test.c
+++ b/libappstream-glib/as-self-test.c
@@ -996,7 +996,7 @@ as_test_icon_func (void)
g_string_free (xml, TRUE);
as_node_unref (root);
- /* convert to embeddded icon */
+ /* convert to embedded icon */
prefix = as_test_get_filename ("rpmbuild");
g_assert (prefix != NULL);
as_icon_set_prefix (icon, prefix);
@@ -4457,7 +4457,7 @@ as_test_utils_spdx_token_func (void)
g_strfreev (tok);
g_free (tmp);
- /* multiple licences, deprectated 'and' & 'or' */
+ /* multiple licences, deprecated 'and' & 'or' */
tok = as_utils_spdx_license_tokenize ("LGPL-2.0+ and GPL-2.0 or LGPL-3.0");
tmp = g_strjoinv (" ", tok);
g_assert_cmpstr (tmp, ==, "@LGPL-2.0+ & @GPL-2.0 | @LGPL-3.0");
diff --git a/libappstream-glib/as-store-cab.c b/libappstream-glib/as-store-cab.c
index 166894e..2c9a940 100644
--- a/libappstream-glib/as-store-cab.c
+++ b/libappstream-glib/as-store-cab.c
@@ -22,7 +22,7 @@ as_store_cab_from_bytes (AsStore *store,
g_set_error (error,
AS_STORE_ERROR,
AS_STORE_ERROR_FAILED,
- "Loading firmware is no longer suported, see fwupd");
+ "Loading firmware is no longer supported, see fwupd");
return FALSE;
}
@@ -35,6 +35,6 @@ as_store_cab_from_file (AsStore *store,
g_set_error (error,
AS_STORE_ERROR,
AS_STORE_ERROR_FAILED,
- "Loading firmware is no longer suported, see fwupd");
+ "Loading firmware is no longer supported, see fwupd");
return FALSE;
}
diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c
index 2401f62..e435340 100644
--- a/libappstream-glib/as-store.c
+++ b/libappstream-glib/as-store.c
@@ -3597,7 +3597,7 @@ as_store_get_unique_name_app_key (AsApp *app)
* @flags: the #AsAppValidateFlags to use, e.g. %AS_APP_VALIDATE_FLAG_NONE
* @error: A #GError or %NULL.
*
- * Validates infomation in the store for data applicable to the defined
+ * Validates information in the store for data applicable to the defined
* metadata version.
*
* Returns: (transfer container) (element-type AsProblem): A list of problems, or %NULL
diff --git a/libappstream-glib/as-utils.c b/libappstream-glib/as-utils.c
index 6cd1c3c..f43a9bb 100644
--- a/libappstream-glib/as-utils.c
+++ b/libappstream-glib/as-utils.c
@@ -2110,7 +2110,7 @@ as_utils_appstream_id_build (const gchar *str)
* @str: a string
*
* Checks to see if a string is a valid AppStream ID. A valid AppStream ID only
- * contains alpha-numeric chars, dots and dashes.
+ * contains alphanumeric chars, dots and dashes.
*
* Returns: %TRUE if the string is a valid AppStream ID
*
diff --git a/libappstream-glib/as-version.c b/libappstream-glib/as-version.c
index 0e86c00..36f7fd2 100644
--- a/libappstream-glib/as-version.c
+++ b/libappstream-glib/as-version.c
@@ -25,7 +25,7 @@
*
* Gets the libappstream-glib installed runtime version.
*
- * Returns: a version numer, e.g. "0.7.8"
+ * Returns: a version number, e.g. "0.7.8"
*
* Since: 0.7.8
**/