mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-02 22:38:01 +00:00
libnm-core: fix documentation comments
../libnm-core/nm-utils.c:4405: Warning: NM: nm_utils_is_json_object: unknown parameter 'str' in documentation comment, should be 'json' ../libnm-core/nm-connection.c:2208: Warning: NM: nm_connection_get_setting_proxy: return value: Missing (transfer) annotation
This commit is contained in:
parent
54f701b95c
commit
185f008521
|
@ -2205,7 +2205,7 @@ nm_connection_get_setting_pppoe (NMConnection *connection)
|
|||
*
|
||||
* A shortcut to return any #NMSettingProxy the connection might contain.
|
||||
*
|
||||
* Returns:an #NMSettingProxy if the connection contains one, otherwise %NULL
|
||||
* Returns: (transfer none): an #NMSettingProxy if the connection contains one, otherwise %NULL
|
||||
*
|
||||
* Since: 1.6
|
||||
**/
|
||||
|
|
|
@ -91,7 +91,7 @@ gboolean nm_utils_wep_key_valid (const char *key, NMWepKeyType wep_type);
|
|||
gboolean nm_utils_wpa_psk_valid (const char *psk);
|
||||
|
||||
NM_AVAILABLE_IN_1_6
|
||||
gboolean nm_utils_is_json_object (const char *json, GError **error);
|
||||
gboolean nm_utils_is_json_object (const char *str, GError **error);
|
||||
|
||||
GVariant *nm_utils_ip4_dns_to_variant (char **dns);
|
||||
char **nm_utils_ip4_dns_from_variant (GVariant *value);
|
||||
|
|
Loading…
Reference in a new issue