diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2020-11-15 18:05:50 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2020-11-15 18:05:50 +0100 |
commit | 9e3ef2c28a804a93e2ec42eb16d981e7ad5419cd (patch) | |
tree | 408c67dae33942cb32279e8d19df2369fc01555c /gi | |
parent | f0056a0b848fc1700a0061f1f033ad086d0bd883 (diff) | |
download | pygobject-9e3ef2c28a804a93e2ec42eb16d981e7ad5419cd.tar.gz |
gtk4: Remove overrides for Paned
pack1/2 are gone
Diffstat (limited to 'gi')
-rw-r--r-- | gi/overrides/Gtk.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py index 3fda3315..dc767b40 100644 --- a/gi/overrides/Gtk.py +++ b/gi/overrides/Gtk.py @@ -1645,16 +1645,16 @@ if GTK2 or GTK3: __all__.append('VScrollbar') -class Paned(Gtk.Paned): - def pack1(self, child, resize=False, shrink=True): - super(Paned, self).pack1(child, resize, shrink) - - def pack2(self, child, resize=True, shrink=True): - super(Paned, self).pack2(child, resize, shrink) +if GTK2 or GTK3: + class Paned(Gtk.Paned): + def pack1(self, child, resize=False, shrink=True): + super(Paned, self).pack1(child, resize, shrink) + def pack2(self, child, resize=True, shrink=True): + super(Paned, self).pack2(child, resize, shrink) -Paned = override(Paned) -__all__.append('Paned') + Paned = override(Paned) + __all__.append('Paned') if GTK2 or GTK3: |