diff options
| author | Dan Winship <danw@redhat.com> | 2014-12-18 12:44:57 -0500 |
|---|---|---|
| committer | Dan Winship <danw@redhat.com> | 2014-12-18 13:47:03 -0500 |
| commit | 2d29c0527e6299658319d9779fd9ce891f8610f6 (patch) | |
| tree | d2cf48af54c5b274021d7754e3103f262a0d9be3 /libnm-glib | |
| parent | ee65399030d0f5003ca82094f4c6cb869cbcbdd4 (diff) | |
| download | NetworkManager-2d29c0527e6299658319d9779fd9ce891f8610f6.tar.gz | |
docs: misc small fixes
Cleans up all of the warnings that aren't overly annoying to clean up.
Diffstat (limited to 'libnm-glib')
| -rw-r--r-- | libnm-glib/nm-client.c | 6 | ||||
| -rw-r--r-- | libnm-glib/nm-device.c | 3 | ||||
| -rw-r--r-- | libnm-glib/nm-secret-agent.h | 2 | ||||
| -rw-r--r-- | libnm-glib/nm-wimax-nsp.h | 9 |
4 files changed, 14 insertions, 6 deletions
diff --git a/libnm-glib/nm-client.c b/libnm-glib/nm-client.c index ac26143d18..a29664c6ba 100644 --- a/libnm-glib/nm-client.c +++ b/libnm-glib/nm-client.c @@ -360,9 +360,9 @@ client_recheck_permissions (DBusGProxy *proxy, gpointer user_data) * @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(). + * <literal>NM_IS_DEVICE_XXXX</literal> 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-glib/nm-device.c b/libnm-glib/nm-device.c index 53d2a69f74..bd5d16374e 100644 --- a/libnm-glib/nm-device.c +++ b/libnm-glib/nm-device.c @@ -1759,8 +1759,7 @@ get_short_vendor (NMDevice *device) * nm_device_get_description: * @device: an #NMDevice * - * Gets a description of @device, incorporating the results of - * nm_device_get_short_vendor() and nm_device_get_short_product(). + * Gets a description of @device, based on its vendor and product names. * * Returns: a description of @device. If either the vendor or the * product name is unknown, this returns the interface name. diff --git a/libnm-glib/nm-secret-agent.h b/libnm-glib/nm-secret-agent.h index f593b3e648..b7df874531 100644 --- a/libnm-glib/nm-secret-agent.h +++ b/libnm-glib/nm-secret-agent.h @@ -59,7 +59,7 @@ typedef enum { * NMSecretAgentCapabilities: * @NM_SECRET_AGENT_CAPABILITY_NONE: the agent supports no special capabilities * @NM_SECRET_AGENT_CAPABILITY_VPN_HINTS: the agent supports sending hints given - * by the NMSecretAgentClass::get_secrets() class method to VPN plugin + * by the <literal>get_secrets</literal> class method to VPN plugin * authentication dialogs. * @NM_SECRET_AGENT_CAPABILITY_LAST: bounds checking value; should not be used. * diff --git a/libnm-glib/nm-wimax-nsp.h b/libnm-glib/nm-wimax-nsp.h index e0cfe1e895..74008d18e0 100644 --- a/libnm-glib/nm-wimax-nsp.h +++ b/libnm-glib/nm-wimax-nsp.h @@ -40,6 +40,15 @@ G_BEGIN_DECLS #define NM_WIMAX_NSP_SIGNAL_QUALITY "signal-quality" #define NM_WIMAX_NSP_NETWORK_TYPE "network-type" +/** + * NMWimaxNspNetworkType: + * @NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN: unknown network type + * @NM_WIMAX_NSP_NETWORK_TYPE_HOME: home network + * @NM_WIMAX_NSP_NETWORK_TYPE_PARTNER: partner network + * @NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER: roaming partner network + * + * WiMAX network type. + */ typedef enum { NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN = 0, NM_WIMAX_NSP_NETWORK_TYPE_HOME = 1, |
