From f0056a0b848fc1700a0061f1f033ad086d0bd883 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sun, 15 Nov 2020 18:04:00 +0100 Subject: flake8 fixes --- gi/overrides/Gtk.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py index ddec7cfa..3fda3315 100644 --- a/gi/overrides/Gtk.py +++ b/gi/overrides/Gtk.py @@ -426,14 +426,12 @@ if GTK4: class ComboBox(Gtk.ComboBox): get_active_iter = strip_boolean_result(Gtk.ComboBox.get_active_iter) - ComboBox = override(ComboBox) __all__.append('ComboBox') else: class ComboBox(Gtk.ComboBox, Container): get_active_iter = strip_boolean_result(Gtk.ComboBox.get_active_iter) - ComboBox = override(ComboBox) __all__.append('ComboBox') @@ -562,7 +560,6 @@ if GTK4: for text, response in _button(args): self.add_button(text, response) - Dialog = override(Dialog) __all__.append('Dialog') else: @@ -652,7 +649,6 @@ else: for text, response in _button(args): self.add_button(text, response) - Dialog = override(Dialog) __all__.append('Dialog') @@ -1419,7 +1415,6 @@ if GTK4: self.insert_column(column, position) column.set_attributes(cell, **kwargs) - TreeView = override(TreeView) __all__.append('TreeView') else: @@ -1465,7 +1460,6 @@ else: self.insert_column(column, position) column.set_attributes(cell, **kwargs) - TreeView = override(TreeView) __all__.append('TreeView') @@ -1560,7 +1554,6 @@ if GTK2 or GTK3: # no obvious how because of the shadowed method, so override here return Gtk.Widget.get_focus_on_click(self, *args, **kwargs) - Button = override(Button) __all__.append('Button') -- cgit v1.2.1