summary refs log tree commit diff
path: root/libnm-glib/nm-vpn-plugin.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-04-08 07:30:59 +0200
committerMichael Biebl <biebl@debian.org>2011-04-08 07:30:59 +0200
commitf75dd6fd1975146623052b843b182dc32c3fbe46 (patch)
tree05ba60b772670f038c9a1fbff940ec5d3e28d870 /libnm-glib/nm-vpn-plugin.c
parentc980bdf58dc973dd5617aaa6f9466f9e44fcbf58 (diff)
Imported Upstream version 0.8.998 upstream/0.8.998
Diffstat (limited to 'libnm-glib/nm-vpn-plugin.c')
-rw-r--r--libnm-glib/nm-vpn-plugin.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libnm-glib/nm-vpn-plugin.c b/libnm-glib/nm-vpn-plugin.c
index fe7a2b63..4c3813e3 100644
--- a/libnm-glib/nm-vpn-plugin.c
+++ b/libnm-glib/nm-vpn-plugin.c
@@ -259,10 +259,10 @@ connect_timer_expired (gpointer data)
 	NMVPNPlugin *plugin = NM_VPN_PLUGIN (data);
 	GError *err = NULL;
 
-	nm_info ("Connect timer expired, disconnecting.");
+	g_message ("Connect timer expired, disconnecting.");
 	nm_vpn_plugin_disconnect (plugin, &err);
 	if (err) {
-		nm_warning ("Disconnect failed: %s", err->message);
+		g_warning ("Disconnect failed: %s", err->message);
 		g_error_free (err);
 	}
 
@@ -367,11 +367,11 @@ impl_vpn_plugin_connect (NMVPNPlugin *plugin,
 
 	connection = nm_connection_new_from_hash (properties, error);
 	if (!connection) {
-		nm_warning ("%s: Invalid connection: '%s' / '%s' invalid: %d",
-		            __func__,
-		            g_type_name (nm_connection_lookup_setting_type_by_quark ((*error)->domain)),
-		            (*error)->message,
-		            (*error)->code);
+		g_warning ("%s: Invalid connection: '%s' / '%s' invalid: %d",
+		           __func__,
+		           g_type_name (nm_connection_lookup_setting_type_by_quark ((*error)->domain)),
+		           (*error)->message,
+		           (*error)->code);
 	} else {
 		success = nm_vpn_plugin_connect (plugin, connection, error);
 		g_object_unref (connection);
@@ -558,7 +558,7 @@ constructor (GType type,
 
  err:
 	if (err) {
-		nm_warning ("%s", err->message);
+		g_warning ("Failed to initialize VPN plugin: %s", err->message);
 		g_error_free (err);
 	}
 
@@ -633,7 +633,7 @@ dispose (GObject *object)
 		nm_vpn_plugin_disconnect (plugin, &err);
 
 	if (err) {
-		nm_warning ("%s", err->message);
+		g_warning ("Error disconnecting VPN connection: %s", err->message);
 		g_error_free (err);
 	}