[network-manager-applet/NMA_0_8] applet: fix warning message



commit 1bb27f149b64c8ccf58c922ff5fa3b8005d731d6
Author: Dan Williams <dcbw redhat com>
Date:   Thu Apr 14 15:09:52 2011 -0500

    applet: fix warning message

 src/applet.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index a4638a1..f2f3bfd 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -1453,8 +1453,8 @@ get_vpn_connections (NMApplet *applet)
 			continue;
 
 		if (!nm_connection_get_setting (connection, NM_TYPE_SETTING_VPN)) {
-			g_warning ("%s: VPN connection '%s' didn't have requires vpn setting.", __func__,
-					   nm_setting_get_name (NM_SETTING (s_con)));
+			g_warning ("%s: VPN connection '%s' didn't have required vpn setting.", __func__,
+			           nm_setting_connection_get_id (s_con));
 			continue;
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]