summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2017-04-27 09:00:55 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2017-04-27 09:00:55 +0200
commitd19553392bca006174c2fe05119fb072663a8042 (patch)
tree7ff7d49ff31d1e91301217a8b3fad4f6cd7c4ef0
parent3876b10a4749638c3dcfa7e65b12bfee8030334c (diff)
downloadNetworkManager-d19553392bca006174c2fe05119fb072663a8042.tar.gz
libnm-core,shared: fix typo in '(allow-none)' annotation
-rw-r--r--libnm-core/nm-setting-bond.c2
-rw-r--r--libnm-core/nm-setting-wired.c2
-rw-r--r--shared/nm-utils/nm-macros-internal.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/libnm-core/nm-setting-bond.c b/libnm-core/nm-setting-bond.c
index 74523eddb7..9a8bdc3702 100644
--- a/libnm-core/nm-setting-bond.c
+++ b/libnm-core/nm-setting-bond.c
@@ -395,7 +395,7 @@ nm_setting_bond_remove_option (NMSettingBond *setting,
/**
* nm_setting_bond_get_valid_options:
- * @setting: (allow none): the #NMSettingBond
+ * @setting: (allow-none): the #NMSettingBond
*
* Returns a list of valid bond options.
*
diff --git a/libnm-core/nm-setting-wired.c b/libnm-core/nm-setting-wired.c
index 28422e1c3a..5569f55848 100644
--- a/libnm-core/nm-setting-wired.c
+++ b/libnm-core/nm-setting-wired.c
@@ -565,7 +565,7 @@ nm_setting_wired_remove_s390_option (NMSettingWired *setting,
/**
* nm_setting_wired_get_valid_s390_options:
- * @setting: (allow none): the #NMSettingWired
+ * @setting: (allow-none): the #NMSettingWired
*
* Returns a list of valid s390 options.
*
diff --git a/shared/nm-utils/nm-macros-internal.h b/shared/nm-utils/nm-macros-internal.h
index eaf8b9e54d..cde257e404 100644
--- a/shared/nm-utils/nm-macros-internal.h
+++ b/shared/nm-utils/nm-macros-internal.h
@@ -188,7 +188,7 @@ _nm_auto_protect_errno (int *p_saved_errno)
/**
* NM_G_ERROR_MSG:
- * @error: (allow none): the #GError instance
+ * @error: (allow-none): the #GError instance
*
* All functions must follow the convention that when they
* return a failure, they must also set the GError to a valid