summaryrefslogtreecommitdiff
path: root/src/nm-dbus-manager.c
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2013-04-09 10:03:49 +0200
committerJiří Klimeš <jklimes@redhat.com>2013-04-09 10:35:01 +0200
commitf1ec2aa320fc0cad1a691157ec3fa1e165e04471 (patch)
treeed20dbc229bc2a5bd861f2c98378c3580d7589ad /src/nm-dbus-manager.c
parent654a79ba8899841b5a0722c0b67b32615bc5663a (diff)
downloadNetworkManager-f1ec2aa320fc0cad1a691157ec3fa1e165e04471.tar.gz
dbus: fix compilation with dbus-glib < 100
private_server_get_connection_owner() is also used in nm_dbus_manager_new_proxy(), thus it must be available.
Diffstat (limited to 'src/nm-dbus-manager.c')
-rw-r--r--src/nm-dbus-manager.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nm-dbus-manager.c b/src/nm-dbus-manager.c
index 45a67cefd5..4953193e09 100644
--- a/src/nm-dbus-manager.c
+++ b/src/nm-dbus-manager.c
@@ -248,7 +248,6 @@ nm_dbus_manager_private_server_register (NMDBusManager *self,
priv->private_servers = g_slist_append (priv->private_servers, s);
}
-#if HAVE_DBUS_GLIB_100
static const char *
private_server_get_connection_owner (PrivateServer *s, DBusGConnection *connection)
{
@@ -257,7 +256,6 @@ private_server_get_connection_owner (PrivateServer *s, DBusGConnection *connecti
return g_hash_table_lookup (s->connections, dbus_g_connection_get_connection (connection));
}
-#endif
/**************************************************************/