summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-wired.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-06-06 12:30:03 -0400
committerDan Winship <danw@gnome.org>2014-06-19 17:45:02 -0400
commit9de24b16e83ca27322c09cde50648d7834820778 (patch)
treed39aae361a6266e726cf08f810d1de5fa8b8bfbd /libnm-util/nm-setting-wired.c
parent8487a4490c96a71cf1ee590b80716c5868233f64 (diff)
downloadNetworkManager-9de24b16e83ca27322c09cde50648d7834820778.tar.gz
libnm-util: fix gtk-doc bugs in NMSetting* properties
Fix misused gtk-doc annotations and incorrectly-identified properties. In particular, the upcoming introspection-based generate-settings-spec expands macro and enum values, so if you use '%' where you should have used '#', it will fail to find an expansion, and error out.
Diffstat (limited to 'libnm-util/nm-setting-wired.c')
-rw-r--r--libnm-util/nm-setting-wired.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm-util/nm-setting-wired.c b/libnm-util/nm-setting-wired.c
index b41ab7174b..a57a07e855 100644
--- a/libnm-util/nm-setting-wired.c
+++ b/libnm-util/nm-setting-wired.c
@@ -919,9 +919,9 @@ nm_setting_wired_class_init (NMSettingWiredClass *setting_class)
G_PARAM_READWRITE));
/**
- * NMSettingEthernet:auto-negotiate:
+ * NMSettingWired:auto-negotiate:
*
- * If TRUE, allow auto-negotiation of port speed and duplex mode. If FALSE,
+ * If %TRUE, allow auto-negotiation of port speed and duplex mode. If %FALSE,
* do not allow auto-negotiation, in which case the 'speed' and 'duplex'
* properties should be set.
**/