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.
This commit is contained in:
Jiří Klimeš 2013-04-09 10:03:49 +02:00
parent 654a79ba88
commit f1ec2aa320

View file

@ -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
/**************************************************************/