summary refs log tree commit diff
path: root/libnm-core/nm-setting-ip-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-core/nm-setting-ip-config.c')
-rw-r--r--libnm-core/nm-setting-ip-config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libnm-core/nm-setting-ip-config.c b/libnm-core/nm-setting-ip-config.c
index 4b73d5fd..3a67ca32 100644
--- a/libnm-core/nm-setting-ip-config.c
+++ b/libnm-core/nm-setting-ip-config.c
@@ -74,7 +74,7 @@ valid_ip (int family, const char *ip, GError **error)
 {
 	if (!ip) {
 		g_set_error (error, NM_CONNECTION_ERROR, NM_CONNECTION_ERROR_FAILED,
-		             family == AF_INET ? _("Missing IPv4 address") : _("Missing IPv6 address'"));
+		             family == AF_INET ? _("Missing IPv4 address") : _("Missing IPv6 address"));
 		return FALSE;
 	}
 	if (!nm_utils_ipaddr_valid (family, ip)) {
@@ -1415,7 +1415,7 @@ nm_setting_ip_config_get_num_addresses (NMSettingIPConfig *setting)
  * @setting: the #NMSettingIPConfig
  * @i: index number of the address to return
  *
- * Returns: the address at index @i
+ * Returns: (transfer none): the address at index @i
  **/
 NMIPAddress *
 nm_setting_ip_config_get_address (NMSettingIPConfig *setting, int i)
@@ -1567,7 +1567,7 @@ nm_setting_ip_config_get_num_routes (NMSettingIPConfig *setting)
  * @setting: the #NMSettingIPConfig
  * @i: index number of the route to return
  *
- * Returns: the route at index @i
+ * Returns: (transfer none): the route at index @i
  **/
 NMIPRoute *
 nm_setting_ip_config_get_route (NMSettingIPConfig *setting, int i)