From f1ec2aa320fc0cad1a691157ec3fa1e165e04471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Tue, 9 Apr 2013 10:03:49 +0200 Subject: [PATCH] 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. --- src/nm-dbus-manager.c | 2 -- 1 file changed, 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 /**************************************************************/