changeset 1dff54efd458 in /home/hg/repos/gajim
branches: gtk3 details:http://hg.gajim.org/gajim?cmd=changeset;node=1dff54efd458 description: remove unused class parameter
diffstat:
src/common/connection_handlers.py | 2 +- src/common/protocol/caps.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r c7616f24c4fa -r 1dff54efd458 src/common/connection_handlers.py --- a/src/common/connection_handlers.py Sat Apr 06 10:14:28 2013 +0200 +++ b/src/common/connection_handlers.py Sat Apr 06 12:24:26 2013 +0200 @@ -1421,7 +1421,7 @@ gajim.nec.register_incoming_event(PresenceReceivedEvent)
ConnectionCaps.__init__(self, account=self.name, - dispatch_event=self.dispatch, capscache=capscache.capscache, + capscache=capscache.capscache, client_caps_factory=capscache.create_suitable_client_caps) ConnectionJingle.__init__(self) ConnectionHandlersBase.__init__(self) diff -r c7616f24c4fa -r 1dff54efd458 src/common/protocol/caps.py --- a/src/common/protocol/caps.py Sat Apr 06 10:14:28 2013 +0200 +++ b/src/common/protocol/caps.py Sat Apr 06 12:24:26 2013 +0200 @@ -34,9 +34,8 @@
class ConnectionCaps(object):
- def __init__(self, account, dispatch_event, capscache, client_caps_factory): + def __init__(self, account, capscache, client_caps_factory): self._account = account - self._dispatch_event = dispatch_event self._capscache = capscache self._create_suitable_client_caps = client_caps_factory gajim.nec.register_incoming_event(CapsPresenceReceivedEvent)