[gnome-software] trivial: Fix typos in comments



commit f66b9f4bbf02d3ef12ff7623814cded8004aaba2
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Nov 22 16:19:10 2017 +1300

    trivial: Fix typos in comments

 plugins/core/gs-appstream.c         |    2 +-
 plugins/core/gs-plugin-appstream.c  |    4 ++--
 plugins/flatpak/gs-plugin-flatpak.c |    2 +-
 plugins/fwupd/gs-plugin-fwupd.c     |    2 +-
 plugins/packagekit/gs-markdown.c    |    2 +-
 plugins/steam/gs-plugin-steam.c     |    2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/plugins/core/gs-appstream.c b/plugins/core/gs-appstream.c
index 1d288ce..0059bd6 100644
--- a/plugins/core/gs-appstream.c
+++ b/plugins/core/gs-appstream.c
@@ -694,7 +694,7 @@ gs_appstream_refine_app (GsPlugin *plugin,
         * removed.
         *
         * If XDG_CURRENT_DESKTOP contains ":", indicating that it is made up
-        * of multiple comopnents per the Desktop Entry Specification, an app
+        * of multiple components per the Desktop Entry Specification, an app
         * is compulsory if any of the components in XDG_CURRENT_DESKTOP match
         * any value in <compulsory_for_desktops />. In that way,
         * "GNOME-Classic:GNOME" shares compulsory apps with GNOME.
diff --git a/plugins/core/gs-plugin-appstream.c b/plugins/core/gs-plugin-appstream.c
index 9cfc790..54a84eb 100644
--- a/plugins/core/gs-plugin-appstream.c
+++ b/plugins/core/gs-plugin-appstream.c
@@ -502,7 +502,7 @@ gs_plugin_refine_app (GsPlugin *plugin,
                        return FALSE;
        }
 
-       /* sucess */
+       /* success */
        return TRUE;
 }
 
@@ -549,7 +549,7 @@ gs_plugin_refine_wildcard (GsPlugin *plugin,
                gs_app_list_add (list, new);
        }
 
-       /* sucess */
+       /* success */
        return TRUE;
 }
 
diff --git a/plugins/flatpak/gs-plugin-flatpak.c b/plugins/flatpak/gs-plugin-flatpak.c
index e47d2f2..572d631 100644
--- a/plugins/flatpak/gs-plugin-flatpak.c
+++ b/plugins/flatpak/gs-plugin-flatpak.c
@@ -178,7 +178,7 @@ gs_plugin_setup (GsPlugin *plugin, GCancellable *cancellable, GError **error)
                }
        }
 
-       /* per-user instalations always available when not in self tests */
+       /* per-user installations always available when not in self tests */
        if (priv->destdir_for_tests == NULL) {
                g_autoptr(FlatpakInstallation) installation = NULL;
                installation = flatpak_installation_new_user (cancellable, error);
diff --git a/plugins/fwupd/gs-plugin-fwupd.c b/plugins/fwupd/gs-plugin-fwupd.c
index c982ccf..426d45e 100644
--- a/plugins/fwupd/gs-plugin-fwupd.c
+++ b/plugins/fwupd/gs-plugin-fwupd.c
@@ -970,7 +970,7 @@ gs_plugin_fwupd_refresh_remote (GsPlugin *plugin,
                return FALSE;
        }
 
-       /* save the new checksum so we don't downoad the payload unless it's changed */
+       /* save the new checksum so we don't download the payload unless it's changed */
        g_hash_table_insert (priv->remote_asc_hash,
                             g_strdup (filename_asc),
                             g_steal_pointer (&checksum));
diff --git a/plugins/packagekit/gs-markdown.c b/plugins/packagekit/gs-markdown.c
index 0a3f4e4..893b9b2 100644
--- a/plugins/packagekit/gs-markdown.c
+++ b/plugins/packagekit/gs-markdown.c
@@ -43,7 +43,7 @@
  *
  * It does support the rest of the standard pretty well, although it's not
  * been run against any conformance tests. The parsing is single pass, with
- * a simple enumerated intepretor mode and a single line back-memory.
+ * a simple enumerated interpretor mode and a single line back-memory.
  *
  ******************************************************************************/
 
diff --git a/plugins/steam/gs-plugin-steam.c b/plugins/steam/gs-plugin-steam.c
index b50089b..94fc8e3 100644
--- a/plugins/steam/gs-plugin-steam.c
+++ b/plugins/steam/gs-plugin-steam.c
@@ -490,7 +490,7 @@ gs_plugin_steam_update_store_app (GsPlugin *plugin,
        as_app_add_metadata (item, "X-Steam-GameID", gameid_str);
        as_app_add_metadata (item, "GnomeSoftware::Plugin", "steam");
 
-       /* ban certains apps based on the name */
+       /* ban certain apps based on the name */
        if (g_strstr_len (name, -1, "Dedicated Server") != NULL)
                as_app_add_veto (item, "Dedicated Server");
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]