]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
bus_connections_get_context: Remove, unused
authorSimon McVittie <smcv@collabora.com>
Fri, 17 Aug 2018 15:31:00 +0000 (16:31 +0100)
committerSimon McVittie <smcv@collabora.com>
Thu, 30 Aug 2018 16:39:33 +0000 (17:39 +0100)
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=107739

bus/connection.c
bus/connection.h

index 25826b1bb4d7c216cde0ea39cbbddd94a8d39b1a..43ab0311cbe9ea429c1d974857a6c2d72952d4b5 100644 (file)
@@ -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
index ad3fa8a3c542f07439f43f05e7f51e8c5238dd4f..e944526ac7a7cad29665cb7d1cbb5067e579e636 100644 (file)
@@ -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);