summaryrefslogtreecommitdiff
path: root/gi/overrides/Gdk.py
diff options
context:
space:
mode:
Diffstat (limited to 'gi/overrides/Gdk.py')
-rw-r--r--gi/overrides/Gdk.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/gi/overrides/Gdk.py b/gi/overrides/Gdk.py
index d77748e3..29e9dc55 100644
--- a/gi/overrides/Gdk.py
+++ b/gi/overrides/Gdk.py
@@ -295,9 +295,6 @@ if GDK2 or GDK3:
for method_info in Gdk.Event.__info__.get_methods():
name = method_info.get_name()
event_method = getattr(Gdk.Event, name)
- # python2 we need to use the __func__ attr to avoid internal
- # instance checks
- event_method = getattr(event_method, '__func__', event_method)
# use the _gsuccess_mask decorator if this method is whitelisted
if name in gsuccess_mask_funcs: