summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-device-team.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-06-19 17:45:03 -0400
committerDan Winship <danw@gnome.org>2014-06-19 17:45:03 -0400
commit9a06f1a2eb62a27794d7ffba9e0cde3d0f68bd41 (patch)
tree6630b16601f247624407f912b4c6242739140d4e /libnm-glib/nm-device-team.c
parent7475d8c28d43bc85231f89d0537fafe6f8c3dcaf (diff)
parentaa1dce6da249b3eff707a6f4de0a03f3876ad514 (diff)
downloadNetworkManager-9a06f1a2eb62a27794d7ffba9e0cde3d0f68bd41.tar.gz
libnm-util: drop GParamSpec docs, use gtk-doc docs elsewhere
https://bugzilla.gnome.org/show_bug.cgi?id=731406
Diffstat (limited to 'libnm-glib/nm-device-team.c')
-rw-r--r--libnm-glib/nm-device-team.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/libnm-glib/nm-device-team.c b/libnm-glib/nm-device-team.c
index f739e1d842..4b14971ba6 100644
--- a/libnm-glib/nm-device-team.c
+++ b/libnm-glib/nm-device-team.c
@@ -322,11 +322,10 @@ nm_device_team_class_init (NMDeviceTeamClass *eth_class)
**/
g_object_class_install_property
(object_class, PROP_HW_ADDRESS,
- g_param_spec_string (NM_DEVICE_TEAM_HW_ADDRESS,
- "Active MAC Address",
- "Currently set hardware MAC address",
+ g_param_spec_string (NM_DEVICE_TEAM_HW_ADDRESS, "", "",
NULL,
- G_PARAM_READABLE));
+ G_PARAM_READABLE |
+ G_PARAM_STATIC_STRINGS));
/**
* NMDeviceTeam:carrier:
@@ -335,11 +334,10 @@ nm_device_team_class_init (NMDeviceTeamClass *eth_class)
**/
g_object_class_install_property
(object_class, PROP_CARRIER,
- g_param_spec_boolean (NM_DEVICE_TEAM_CARRIER,
- "Carrier",
- "Carrier",
+ g_param_spec_boolean (NM_DEVICE_TEAM_CARRIER, "", "",
FALSE,
- G_PARAM_READABLE));
+ G_PARAM_READABLE |
+ G_PARAM_STATIC_STRINGS));
/**
* NMDeviceTeam:slaves:
@@ -348,9 +346,8 @@ nm_device_team_class_init (NMDeviceTeamClass *eth_class)
**/
g_object_class_install_property
(object_class, PROP_SLAVES,
- g_param_spec_boxed (NM_DEVICE_TEAM_SLAVES,
- "Slaves",
- "Slaves",
+ g_param_spec_boxed (NM_DEVICE_TEAM_SLAVES, "", "",
NM_TYPE_OBJECT_ARRAY,
- G_PARAM_READABLE));
+ G_PARAM_READABLE |
+ G_PARAM_STATIC_STRINGS));
}