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:
Beniamino Galvani 2016-10-14 10:04:11 +02:00
parent 54f701b95c
commit 185f008521
2 changed files with 2 additions and 2 deletions

View file

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

View file

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