From: Simon McVittie Date: Fri, 17 Aug 2018 15:31:00 +0000 (+0100) Subject: bus_connections_get_context: Remove, unused X-Git-Tag: dbus-1.13.8~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a3800e2d418985014c507b362c212f8d17c3b306;p=thirdparty%2Fdbus.git bus_connections_get_context: Remove, unused Signed-off-by: Simon McVittie Reviewed-by: Philip Withnall Bug: https://bugs.freedesktop.org/show_bug.cgi?id=107739 --- diff --git a/bus/connection.c b/bus/connection.c index 25826b1bb..43ab0311c 100644 --- a/bus/connection.c +++ b/bus/connection.c @@ -1148,12 +1148,6 @@ bus_connection_get_policy (DBusConnection *connection) return d->policy; } -BusContext* -bus_connections_get_context (BusConnections *connections) -{ - return connections->context; -} - /* * This is used to avoid covering the same connection twice when * traversing connections. Note that it assumes we will diff --git a/bus/connection.h b/bus/connection.h index ad3fa8a3c..e944526ac 100644 --- a/bus/connection.h +++ b/bus/connection.h @@ -39,7 +39,6 @@ BusConnections* bus_connections_ref (BusConnections void bus_connections_unref (BusConnections *connections); dbus_bool_t bus_connections_setup_connection (BusConnections *connections, DBusConnection *connection); -BusContext* bus_connections_get_context (BusConnections *connections); void bus_connections_increment_stamp (BusConnections *connections); dbus_bool_t bus_connections_reload_policy (BusConnections *connections, DBusError *error);