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
This commit is contained in:
Alberto Ruiz 2012-01-13 09:40:26 -06:00 committed by Dan Williams
parent fc66e85146
commit 4f72ed2296

View file

@ -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