[Telepathy-commits] [telepathy-python/master] Connection.request_channel: add the bus as optionnal argument

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Sep 16 06:31:03 PDT 2008


---
 src/client/conn.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/client/conn.py b/src/client/conn.py
index e63d954..ee8d8df 100644
--- a/src/client/conn.py
+++ b/src/client/conn.py
@@ -84,8 +84,8 @@ class Connection(InterfaceFactory):
 
         return connections
 
-    def request_channel(self, type, handle_type, handle, suppress_handler):
+    def request_channel(self, type, handle_type, handle, suppress_handler, bus=None):
         path = self.RequestChannel(type, handle_type, handle,
             suppress_handler)
-        return Channel(self.service_name, path)
+        return Channel(self.service_name, path, bus)
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list