NetworkManager r3921 - trunk/libnm-glib
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r3921 - trunk/libnm-glib
- Date: Mon, 11 Aug 2008 13:49:10 +0000 (UTC)
Author: dcbw
Date: Mon Aug 11 13:49:09 2008
New Revision: 3921
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3921&view=rev
Log:
Don't try to get active connections when NM isn't running
Modified:
trunk/libnm-glib/nm-client.c
Modified: trunk/libnm-glib/nm-client.c
==============================================================================
--- trunk/libnm-glib/nm-client.c (original)
+++ trunk/libnm-glib/nm-client.c Mon Aug 11 13:49:09 2008
@@ -684,6 +684,9 @@
if (priv->active_connections)
return handle_ptr_array_return (priv->active_connections);
+ if (!priv->manager_running)
+ return NULL;
+
if (!nm_object_get_property (NM_OBJECT (client),
"org.freedesktop.DBus.Properties",
"ActiveConnections",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]