mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 10:08:05 +02:00
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:
parent
654a79ba88
commit
f1ec2aa320
1 changed files with 0 additions and 2 deletions
|
|
@ -248,7 +248,6 @@ nm_dbus_manager_private_server_register (NMDBusManager *self,
|
||||||
priv->private_servers = g_slist_append (priv->private_servers, s);
|
priv->private_servers = g_slist_append (priv->private_servers, s);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAVE_DBUS_GLIB_100
|
|
||||||
static const char *
|
static const char *
|
||||||
private_server_get_connection_owner (PrivateServer *s, DBusGConnection *connection)
|
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));
|
return g_hash_table_lookup (s->connections, dbus_g_connection_get_connection (connection));
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/**************************************************************/
|
/**************************************************************/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue