gplugin/gplugin

Fix several typos

2021-10-09, Elliott Sales de Andrade
96777d5e184b
Parents cbac138e5c89
Children d926130c6d12
Fix several typos

Ran `codespell -w` over everything, and ignored a few things.

Reviewed at https://reviews.imfreedom.org/r/1011/
--- a/gplugin-query/gplugin-query.c Sat Oct 09 22:58:51 2021 -0500
+++ b/gplugin-query/gplugin-query.c Sat Oct 09 22:59:17 2021 -0500
@@ -360,7 +360,7 @@
gplugin_manager_refresh(manager);
- /* check if the user gave us atleast one plugin, and output them */
+ /* check if the user gave us at least one plugin, and output them */
if(argc > 1) {
GQueue *plugins = g_queue_new();
--- a/gplugin/gplugin-plugin-info.c Sat Oct 09 22:58:51 2021 -0500
+++ b/gplugin/gplugin-plugin-info.c Sat Oct 09 22:59:17 2021 -0500
@@ -642,7 +642,7 @@
* (APPLICATION_MINOR_VERSION))
* ]|
*
- * The application here uses the thrid and fourth bytes, but could use
+ * The application here uses the third and fourth bytes, but could use
* the second as well.
*/
properties[PROP_ABI_VERSION] = g_param_spec_uint(
@@ -922,7 +922,7 @@
* @info: The plugin info instance.
*
* Gets the normalized version of the id from @info. That is, a version where
- * only alpha-numeric and -'s are in the id.
+ * only alphanumeric and -'s are in the id.
*
* Returns: (transfer full): The normalized id of @info.
*/
--- a/gplugin/gplugin-plugin.c Sat Oct 09 22:58:51 2021 -0500
+++ b/gplugin/gplugin-plugin.c Sat Oct 09 22:59:17 2021 -0500
@@ -37,7 +37,7 @@
* @GPLUGIN_PLUGIN_STATE_ERROR: There was an error loading or unloading the
* plugin.
* @GPLUGIN_PLUGIN_STATE_QUERIED: The plugin has been queried but not loaded.
- * @GPLUGIN_PLUGIN_STATE_REQUERY: The plugin should be requeried.
+ * @GPLUGIN_PLUGIN_STATE_REQUERY: The plugin should be re-queried.
* @GPLUGIN_PLUGIN_STATE_LOADED: The plugin is loaded.
* @GPLUGIN_PLUGIN_STATE_LOAD_FAILED: The plugin failed to load.
* @GPLUGIN_PLUGIN_STATE_UNLOAD_FAILED: The plugin failed to unload.
--- a/gplugin/tests/test-bind-global.c Sat Oct 09 22:58:51 2021 -0500
+++ b/gplugin/tests/test-bind-global.c Sat Oct 09 22:59:17 2021 -0500
@@ -26,7 +26,7 @@
* Tests
*****************************************************************************/
-/* This test kind of sucks because theres no way for us to lookup whether or
+/* This test kind of sucks because there's no way for us to lookup whether or
* not a module handle has had its symbols bound globally. Therefore, right
* now we have to settle to see if it was loaded correctly.
*/
--- a/gplugin/tests/test-option-group.c Sat Oct 09 22:58:51 2021 -0500
+++ b/gplugin/tests/test-option-group.c Sat Oct 09 22:59:17 2021 -0500
@@ -43,7 +43,7 @@
g_strfreev(argv);
/* the above gplugin_get_option_group will call gplugin_init if it hasn't
- * been called yet. Untill gplugin_init is called manager will be NULL.
+ * been called yet. Until gplugin_init is called manager will be NULL.
*/
manager = gplugin_manager_get_default();
--- a/vala/tests/plugins/basic.vala Sat Oct 09 22:58:51 2021 -0500
+++ b/vala/tests/plugins/basic.vala Sat Oct 09 22:59:17 2021 -0500
@@ -47,7 +47,7 @@
public bool gplugin_load(GPlugin.Plugin plugin, out Error error) {
if(!(plugin is GPlugin.Plugin)) {
- error = new Error(Quark.from_string("gplugin"), 0, "plugin as not set");
+ error = new Error(Quark.from_string("gplugin"), 0, "plugin was not set");
return false;
}
@@ -58,7 +58,7 @@
public bool gplugin_unload(GPlugin.Plugin plugin, bool shutdown, out Error error) {
if(!(plugin is GPlugin.Plugin)) {
- error = new Error(Quark.from_string("gplugin"), 0, "plugin as not set");
+ error = new Error(Quark.from_string("gplugin"), 0, "plugin was not set");
return false;
}