From 2d29c0527e6299658319d9779fd9ce891f8610f6 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 18 Dec 2014 12:44:57 -0500 Subject: docs: misc small fixes Cleans up all of the warnings that aren't overly annoying to clean up. --- libnm/nm-client.c | 6 +++--- libnm/nm-dhcp-config.c | 6 ++++-- libnm/nm-ip-config.c | 6 ++++-- 3 files changed, 11 insertions(+), 7 deletions(-) (limited to 'libnm') diff --git a/libnm/nm-client.c b/libnm/nm-client.c index 729dab62a6..ef73e329b2 100644 --- a/libnm/nm-client.c +++ b/libnm/nm-client.c @@ -702,9 +702,9 @@ nm_client_save_hostname_finish (NMClient *client, * @client: a #NMClient * * Gets all the known network devices. Use nm_device_get_type() or the - * NM_IS_DEVICE_XXXX() functions to determine what kind of device member of the - * returned array is, and then you may use device-specific methods such as - * nm_device_ethernet_get_hw_address(). + * NM_IS_DEVICE_XXXX functions to determine what kind of + * device member of the returned array is, and then you may use device-specific + * methods such as nm_device_ethernet_get_hw_address(). * * Returns: (transfer none) (element-type NMDevice): a #GPtrArray * containing all the #NMDevices. The returned array is owned by the diff --git a/libnm/nm-dhcp-config.c b/libnm/nm-dhcp-config.c index 4a58bf27a6..7227abac33 100644 --- a/libnm/nm-dhcp-config.c +++ b/libnm/nm-dhcp-config.c @@ -143,7 +143,8 @@ nm_dhcp_config_class_init (NMDhcpConfigClass *config_class) /** * NMDhcpConfig:family: * - * The IP address family of the configuration; either %AF_INET or %AF_INET6. + * The IP address family of the configuration; either + * AF_INET or AF_INET6. **/ g_object_class_install_property (object_class, PROP_FAMILY, @@ -173,7 +174,8 @@ nm_dhcp_config_class_init (NMDhcpConfigClass *config_class) * * Gets the IP address family of the configuration * - * Returns: the IP address family; either %AF_INET or %AF_INET6 + * Returns: the IP address family; either AF_INET or + * AF_INET6 **/ int nm_dhcp_config_get_family (NMDhcpConfig *config) diff --git a/libnm/nm-ip-config.c b/libnm/nm-ip-config.c index e8c450fa39..d057903e27 100644 --- a/libnm/nm-ip-config.c +++ b/libnm/nm-ip-config.c @@ -269,7 +269,8 @@ nm_ip_config_class_init (NMIPConfigClass *config_class) /** * NMIPConfig:family: * - * The IP address family of the configuration; either %AF_INET or %AF_INET6. + * The IP address family of the configuration; either + * AF_INET or AF_INET6. **/ g_object_class_install_property (object_class, PROP_FAMILY, @@ -370,7 +371,8 @@ nm_ip_config_class_init (NMIPConfigClass *config_class) * * Gets the IP address family * - * Returns: the IP address family; either %AF_INET or %AF_INET6 + * Returns: the IP address family; either AF_INET or + * AF_INET6 **/ int nm_ip_config_get_family (NMIPConfig *config) -- cgit v1.2.1