network-manager-applet r805 - trunk/src



Author: dcbw
Date: Sun Jul 27 20:27:39 2008
New Revision: 805
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=805&view=rev

Log:
Get rid of the 'had no devices\!' warning; vpn connections don't have any

Modified:
   trunk/src/applet.c

Modified: trunk/src/applet.c
==============================================================================
--- trunk/src/applet.c	(original)
+++ trunk/src/applet.c	Sun Jul 27 20:27:39 2008
@@ -149,11 +149,8 @@
 		const GPtrArray *devices;
 
 		devices = nm_active_connection_get_devices (candidate);
-		if (!devices || !devices->len) {
-			g_warning ("Active connection %s had no devices!",
-			           nm_object_get_path (NM_OBJECT (candidate)));
+		if (!devices || !devices->len)
 			continue;
-		}
 
 		if (nm_active_connection_get_default (candidate)) {
 			if (!default_ac) {



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