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