summaryrefslogtreecommitdiff
path: root/libnm-glib
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-09-15 07:20:54 -0400
committerThomas Haller <thaller@redhat.com>2018-09-17 11:26:13 +0200
commit58510ed5667974e772344c1a893be9deecb1b4cc (patch)
tree66f521404a44570bd0deaa694d3403050bcc0b36 /libnm-glib
parentf985b6944a1147281e34721c96db1a41baca65b3 (diff)
docs: misc. typos pt2
Remainder of typos found using `codespell -q 3 --skip="./shared,./src/systemd,*.po" -I ../NetworkManager-word-whitelist.txt` whereby whitelist consists of: ``` ans busses cace cna conexant crasher iff liftime creat nd sav technik uint ``` https://github.com/NetworkManager/NetworkManager/pull/205
Diffstat (limited to 'libnm-glib')
-rw-r--r--libnm-glib/nm-client.c2
-rw-r--r--libnm-glib/nm-object.c4
-rw-r--r--libnm-glib/nm-object.h2
-rw-r--r--libnm-glib/nm-secret-agent.c6
4 files changed, 7 insertions, 7 deletions
diff --git a/libnm-glib/nm-client.c b/libnm-glib/nm-client.c
index 0da7b0f4e..16fee7141 100644
--- a/libnm-glib/nm-client.c
+++ b/libnm-glib/nm-client.c
@@ -1840,7 +1840,7 @@ constructed (GObject *object)
GError *error = NULL;
if (!nm_utils_init (&error)) {
- g_warning ("Couldn't initilize nm-utils/crypto system: %s",
+ g_warning ("Couldn't initialize nm-utils/crypto system: %s",
error->message);
g_clear_error (&error);
}
diff --git a/libnm-glib/nm-object.c b/libnm-glib/nm-object.c
index e2c96d62b..967400e73 100644
--- a/libnm-glib/nm-object.c
+++ b/libnm-glib/nm-object.c
@@ -451,10 +451,10 @@ nm_object_class_init (NMObjectClass *nm_object_class)
/**
* NMObject::object-creation-failed:
* @master_object: the object that received the signal
- * @error: the error that occured while creating object
+ * @error: the error that occurred while creating object
* @failed_path: object path of the failed object
*
- * Indicates that an error occured while creating an #NMObject object
+ * Indicates that an error occurred while creating an #NMObject object
* during property handling of @master_object.
*
* Note: Be aware that the signal is private for libnm-glib's internal
diff --git a/libnm-glib/nm-object.h b/libnm-glib/nm-object.h
index 73aa9de54..d37fb683c 100644
--- a/libnm-glib/nm-object.h
+++ b/libnm-glib/nm-object.h
@@ -66,7 +66,7 @@ typedef struct {
/* Signals */
/* The "object-creation-failed" signal is PRIVATE for libnm-glib and
* is not meant for any external usage. It indicates that an error
- * occured during creation of an object.
+ * occurred during creation of an object.
*/
void (*object_creation_failed) (NMObject *master_object,
GError *error,
diff --git a/libnm-glib/nm-secret-agent.c b/libnm-glib/nm-secret-agent.c
index 16e3199dd..361af6f8d 100644
--- a/libnm-glib/nm-secret-agent.c
+++ b/libnm-glib/nm-secret-agent.c
@@ -703,7 +703,7 @@ auto_register_cb (gpointer user_data)
* @callback: (scope async): a callback, to be invoked when the operation is done
* @user_data: (closure): caller-specific data to be passed to @callback
*
- * Asyncronously retrieve secrets belonging to @connection for the
+ * Asynchronously retrieve secrets belonging to @connection for the
* setting @setting_name. @flags indicate specific behavior that the secret
* agent should use when performing the request, for example returning only
* existing secrets without user interaction, or requesting entirely new
@@ -742,7 +742,7 @@ nm_secret_agent_get_secrets (NMSecretAgent *self,
* @callback: (scope async): a callback, to be invoked when the operation is done
* @user_data: (closure): caller-specific data to be passed to @callback
*
- * Asyncronously ensure that all secrets inside @connection
+ * Asynchronously ensure that all secrets inside @connection
* are stored to disk.
*/
void
@@ -1031,7 +1031,7 @@ nm_secret_agent_class_init (NMSecretAgentClass *class)
/**
* NMSecretAgent::registration-result:
* @agent: the agent that received the signal
- * @error: the error, if any, that occured while registering
+ * @error: the error, if any, that occurred while registering
*
* Indicates the result of a registration request; if @error is NULL the
* request was successful.