about summary refs log tree commit diff
path: root/test/nm-tool.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2012-03-24 01:37:02 +0100
committerMichael Biebl <biebl@debian.org>2012-03-24 01:37:02 +0100
commit6d09564a44846697e1b2a4d50fc5272834c33ed9 (patch)
tree562300c45bf4c7d09a2903ccdf1c4d1647989725 /test/nm-tool.c
parent1ac8eb294d0f5e38bd08f709047a73e24a5a4dd3 (diff)
parentde06e5715e780baade318f3490ac7a4c9ce84e32 (diff)
Merge tag 'upstream/0.9.4.0'
Upstream version 0.9.4.0
Diffstat (limited to 'test/nm-tool.c')
-rw-r--r--test/nm-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nm-tool.c b/test/nm-tool.c
index 9ce44f88..d8c75cee 100644
--- a/test/nm-tool.c
+++ b/test/nm-tool.c
@@ -627,7 +627,7 @@ detail_vpn (gpointer data, gpointer user_data)
 	connection = get_connection_for_active (active);
 	g_return_if_fail (connection != NULL);
 
-	s_con = (NMSettingConnection *) nm_connection_get_setting (connection, NM_TYPE_SETTING_CONNECTION);
+	s_con = nm_connection_get_setting_connection (connection);
 	g_return_if_fail (s_con != NULL);
 
 	print_header ("VPN", NULL, nm_setting_connection_get_id (s_con));