From 43182c6e790bb13a251d00ec696dabbe517d6ee4 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 27 Apr 2017 09:00:55 +0200 Subject: [PATCH] libnm-core,shared: fix typo in '(allow-none)' annotation (cherry picked from commit d19553392bca006174c2fe05119fb072663a8042) --- libnm-core/nm-setting-bond.c | 2 +- libnm-core/nm-setting-wired.c | 2 +- shared/nm-utils/nm-macros-internal.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libnm-core/nm-setting-bond.c b/libnm-core/nm-setting-bond.c index 74523eddb..9a8bdc370 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 28422e1c3..5569f5584 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 e1e3431a7..6ca66d29e 100644 --- a/shared/nm-utils/nm-macros-internal.h +++ b/shared/nm-utils/nm-macros-internal.h @@ -180,7 +180,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