summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcl0ne <cl0ne@mithril.org.ua>2018-04-07 00:43:27 +0300
committercl0ne <cl0ne@mithril.org.ua>2018-04-07 00:43:27 +0300
commit506c4c0dbc72f8cc7408c09ebc19b742ec042637 (patch)
treee12b22dbb9ee63f8a84d926a01fec7ca9f6e3504
parent175a7386f6d68155979ef596b32b3adffb3efdf8 (diff)
downloadpygobject-506c4c0dbc72f8cc7408c09ebc19b742ec042637.tar.gz
Fix typo in BoundSignal disconnect
-rw-r--r--gi/_signalhelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/_signalhelper.py b/gi/_signalhelper.py
index 29d36ea0..6d1f9369 100644
--- a/gi/_signalhelper.py
+++ b/gi/_signalhelper.py
@@ -115,7 +115,7 @@ class Signal(str):
def disconnect(self, handler_id):
"""Same as GObject.Object.disconnect."""
- self.instance.disconnect(handler_id)
+ self.gobj.disconnect(handler_id)
def emit(self, *args, **kargs):
"""Same as GObject.Object.emit except there is no need to specify