summaryrefslogtreecommitdiff
path: root/src/leap/gui
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-07-25 15:30:07 -0300
committerdrebs <drebs@leap.se>2013-07-25 15:30:07 -0300
commit139e699238515204c498c9ce9377289ed3a4b097 (patch)
treec4d668c7c701fa065f2225a3333a496a7dd82416 /src/leap/gui
parent4e86d1bd29890cfb7bc02f5bcf434e175d810d1a (diff)
Fix leap.common.events rpc calls to use correct callback.
Diffstat (limited to 'src/leap/gui')
-rw-r--r--src/leap/gui/mainwindow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/gui/mainwindow.py b/src/leap/gui/mainwindow.py
index 1a82d600..1d0d3120 100644
--- a/src/leap/gui/mainwindow.py
+++ b/src/leap/gui/mainwindow.py
@@ -119,10 +119,10 @@ class MainWindow(QtGui.QMainWindow):
# register leap events
register(signal=proto.UPDATER_NEW_UPDATES,
callback=self._new_updates_available,
- reqcbk=lambda resp: None) # make rpc call async
+ reqcbk=lambda req, resp: None) # make rpc call async
register(signal=proto.RAISE_WINDOW,
callback=self._on_raise_window_event,
- reqcbk=lambda resp: None) # make rpc call async
+ reqcbk=lambda req, resp: None) # make rpc call async
self._quit_callback = quit_callback