From 4f72ed22964e372f80b2352869cd54da1cb20637 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Fri, 13 Jan 2012 09:40:26 -0600 Subject: [PATCH] docs: fix section header name for nm_access_point_connection_valid() nm_access_point_connection_valid documentation had nm_access_point_filter_connection as the section string, probably a typo after copy pasting --- libnm-glib/nm-access-point.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libnm-glib/nm-access-point.c b/libnm-glib/nm-access-point.c index 97464c4a27..5886414468 100644 --- a/libnm-glib/nm-access-point.c +++ b/libnm-glib/nm-access-point.c @@ -359,7 +359,7 @@ nm_access_point_get_strength (NMAccessPoint *ap) } /** - * nm_access_point_filter_connections: + * nm_access_point_connection_valid: * @ap: an #NMAccessPoint to validate @connection against * @connections: an #NMConnection to validate against @ap * @@ -368,11 +368,6 @@ nm_access_point_get_strength (NMAccessPoint *ap) * @ap's SSID, (if given) BSSID, and other attributes like security settings, * channel, band, etc. * - * To obtain the list of connections that are compatible with this access point, - * use nm_remote_settings_list_connections() and then filter the returned list - * for a given #NMDevice using nm_device_filter_connections() and finally - * filter that list with this function. - * * Returns: %TRUE if the connection may be activated with this WiFi AP, * %FALSE if it cannot be. **/ @@ -480,6 +475,11 @@ nm_access_point_connection_valid (NMAccessPoint *ap, NMConnection *connection) * returned connections will match the @ap's SSID and (if given) BSSID and * other attributes like security settings, channel, etc. * + * To obtain the list of connections that are compatible with this access point, + * use nm_remote_settings_list_connections() and then filter the returned list + * for a given #NMDevice using nm_device_filter_connections() and finally + * filter that list with this function. + * * Returns: (transfer container) (element-type NetworkManager.Connection): a * list of #NMConnection objects that could be activated with the given @ap. * The elements of the list are owned by their creator and should not be freed