summaryrefslogtreecommitdiff
path: root/libappstream-builder
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-builder
parentf9acd7b4f2362402f5a23f80e0a27552ea76e3e6 (diff)
downloadappstream-glib-843caabdeca6ae15f400f38536bc666340c30465.tar.gz
trivial: Fix some typos spotted using codespell
Diffstat (limited to 'libappstream-builder')
-rw-r--r--libappstream-builder/asb-package-cab.c4
-rw-r--r--libappstream-builder/asb-package.c4
-rw-r--r--libappstream-builder/asb-task.c2
-rw-r--r--libappstream-builder/plugins/asb-plugin-font.c4
-rw-r--r--libappstream-builder/plugins/asb-plugin-shell-extension.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/libappstream-builder/asb-package-cab.c b/libappstream-builder/asb-package-cab.c
index 652c0f8..56a0254 100644
--- a/libappstream-builder/asb-package-cab.c
+++ b/libappstream-builder/asb-package-cab.c
@@ -32,7 +32,7 @@ asb_package_cab_open (AsbPackage *pkg, const gchar *filename, GError **error)
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;
}
@@ -44,7 +44,7 @@ asb_package_cab_ensure (AsbPackage *pkg,
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-builder/asb-package.c b/libappstream-builder/asb-package.c
index 49538dc..6fc77b6 100644
--- a/libappstream-builder/asb-package.c
+++ b/libappstream-builder/asb-package.c
@@ -487,7 +487,7 @@ asb_package_get_filelist (AsbPackage *pkg)
* asb_package_get_deps:
* @pkg: A #AsbPackage
*
- * Get the package dependancy list.
+ * Get the package dependency list.
*
* Returns: (transfer none) (element-type utf8): deplist
*
@@ -692,7 +692,7 @@ asb_package_set_source_pkgname (AsbPackage *pkg, const gchar *source_pkgname)
* @pkg: A #AsbPackage
* @dep: package dep
*
- * Add a package dependancy.
+ * Add a package dependency.
*
* Since: 0.3.5
**/
diff --git a/libappstream-builder/asb-task.c b/libappstream-builder/asb-task.c
index 1e5ea55..355a316 100644
--- a/libappstream-builder/asb-task.c
+++ b/libappstream-builder/asb-task.c
@@ -10,7 +10,7 @@
* @short_description: One specific task for building metadata.
* @stability: Unstable
*
- * Thsi object represents a single task, typically a package which is created
+ * This object represents a single task, typically a package which is created
* and then processed. Typically this is done in a number of threads.
*/
diff --git a/libappstream-builder/plugins/asb-plugin-font.c b/libappstream-builder/plugins/asb-plugin-font.c
index 20aa5b4..6fda2d1 100644
--- a/libappstream-builder/plugins/asb-plugin-font.c
+++ b/libappstream-builder/plugins/asb-plugin-font.c
@@ -539,7 +539,7 @@ asb_plugin_font_set_name (AsbApp *app, const gchar *name)
NULL };
g_autofree gchar *tmp = NULL;
- /* remove font foundary suffix */
+ /* remove font foundry suffix */
tmp = g_strdup (name);
for (i = 0; suffixes[i] != NULL; i++) {
if (g_str_has_suffix (tmp, suffixes[i])) {
@@ -548,7 +548,7 @@ asb_plugin_font_set_name (AsbApp *app, const gchar *name)
}
}
- /* remove font foundary prefix */
+ /* remove font foundry prefix */
ptr = tmp;
for (i = 0; prefixes[i] != NULL; i++) {
if (g_str_has_prefix (tmp, prefixes[i]))
diff --git a/libappstream-builder/plugins/asb-plugin-shell-extension.c b/libappstream-builder/plugins/asb-plugin-shell-extension.c
index c62e71d..5b4f363 100644
--- a/libappstream-builder/plugins/asb-plugin-shell-extension.c
+++ b/libappstream-builder/plugins/asb-plugin-shell-extension.c
@@ -67,7 +67,7 @@ as_app_parse_shell_extension_data (AsbPlugin *plugin,
g_set_error_literal (error,
ASB_PLUGIN_ERROR,
ASB_PLUGIN_ERROR_FAILED,
- "no obect");
+ "no object");
return FALSE;
}