summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-bluetooth.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-util/nm-setting-bluetooth.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-util/nm-setting-bluetooth.c')
-rw-r--r--libnm-util/nm-setting-bluetooth.c21
1 files changed, 8 insertions, 13 deletions
diff --git a/libnm-util/nm-setting-bluetooth.c b/libnm-util/nm-setting-bluetooth.c
index d568c01e36..7c2566cad4 100644
--- a/libnm-util/nm-setting-bluetooth.c
+++ b/libnm-util/nm-setting-bluetooth.c
@@ -279,26 +279,21 @@ nm_setting_bluetooth_class_init (NMSettingBluetoothClass *setting_class)
**/
g_object_class_install_property
(object_class, PROP_BDADDR,
- _nm_param_spec_specialized (NM_SETTING_BLUETOOTH_BDADDR,
- "Bluetooth address",
- "The Bluetooth address of the device",
+ _nm_param_spec_specialized (NM_SETTING_BLUETOOTH_BDADDR, "", "",
DBUS_TYPE_G_UCHAR_ARRAY,
- G_PARAM_READWRITE | NM_SETTING_PARAM_INFERRABLE));
+ G_PARAM_READWRITE | NM_SETTING_PARAM_INFERRABLE |
+ G_PARAM_STATIC_STRINGS));
/**
* NMSettingBluetooth:type:
*
- * Either 'dun' for Dial-Up Networking connections or 'panu' for Personal
+ * Either "dun" for Dial-Up Networking connections or "panu" for Personal
* Area Networking connections to devices supporting the NAP profile.
**/
g_object_class_install_property
(object_class, PROP_TYPE,
- g_param_spec_string (NM_SETTING_BLUETOOTH_TYPE,
- "Connection type",
- "Either '" NM_SETTING_BLUETOOTH_TYPE_DUN "' for "
- "Dial-Up Networking connections or "
- "'" NM_SETTING_BLUETOOTH_TYPE_PANU "' for "
- "Personal Area Networking connections.",
- NULL,
- G_PARAM_READWRITE | NM_SETTING_PARAM_INFERRABLE));
+ g_param_spec_string (NM_SETTING_BLUETOOTH_TYPE, "", "",
+ NULL,
+ G_PARAM_READWRITE | NM_SETTING_PARAM_INFERRABLE |
+ G_PARAM_STATIC_STRINGS));
}