summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pölsterl <sebp@k-d-w.org>2011-01-17 19:08:23 +0100
committerSebastian Pölsterl <sebp@k-d-w.org>2011-01-17 19:08:23 +0100
commit4fbae9629adc166627de05bb0946b71485343d69 (patch)
treedd9ab6fac42f8d276ba196d7532fa61bbd148936
parentc054f0aca67952876b3519bb75ddc62c5517f7cb (diff)
downloadpygobject-4fbae9629adc166627de05bb0946b71485343d69.tar.gz
Revert "Override Gtk.CellLayout.pack_start and pack_end to add default values to be compliant with pygtk"
This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
-rw-r--r--gi/overrides/Gtk.py13
1 files changed, 2 insertions, 11 deletions
diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py
index 0b2a6f5e..0e7d6cc9 100644
--- a/gi/overrides/Gtk.py
+++ b/gi/overrides/Gtk.py
@@ -46,16 +46,6 @@ class Widget(Gtk.Widget):
Widget = override(Widget)
__all__.append('Widget')
-class CellLayout(Gtk.CellLayout):
- def pack_start(self, cell, expand=True):
- super(CellLayout, self).pack_start(cell, expand)
-
- def pack_end(self, cell, expand=True):
- super(CellLayout, self).pack_end(cell, expand)
-
-CellLayout = override(CellLayout)
-__all__.append('CellLayout')
-
class Container(Gtk.Container, Widget):
def __len__(self):
@@ -284,7 +274,7 @@ class UIManager(Gtk.UIManager):
UIManager = override(UIManager)
__all__.append('UIManager')
-class ComboBox(Gtk.ComboBox, Container, CellLayout):
+class ComboBox(Gtk.ComboBox, Container):
def get_active_iter(self):
success, aiter = super(ComboBox, self).get_active_iter()
@@ -1048,6 +1038,7 @@ class TreeViewColumn(Gtk.TreeViewColumn):
if success:
return (start_pos, width,)
+
TreeViewColumn = override(TreeViewColumn)
__all__.append('TreeViewColumn')