summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGustavo J. A. M. Carneiro <gjc@src.gnome.org>2006-07-13 13:46:08 +0000
committerGustavo J. A. M. Carneiro <gjc@src.gnome.org>2006-07-13 13:46:08 +0000
commitd6d7640b0152b0cbc049969f847d413a4a6d449a (patch)
tree8c35761d4f339513580ed99c9dbd808b678999dc /examples
parent852213f51e0e6e271a9188bf2cb712bc8bd9f99f (diff)
downloadpygtk-d6d7640b0152b0cbc049969f847d413a4a6d449a.tar.gz
Bug 341509 – Layout.do_size_allocate() in examples/gtk/scrollable.py doesn't set the widget's allocation
Diffstat (limited to 'examples')
-rw-r--r--examples/gtk/scrollable.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/gtk/scrollable.py b/examples/gtk/scrollable.py
index 317f04b2..12db08fc 100644
--- a/examples/gtk/scrollable.py
+++ b/examples/gtk/scrollable.py
@@ -158,6 +158,7 @@ class Layout(gtk.Container):
child.widget.size_request()
def do_size_allocate(self, allocation):
+ self.allocation = allocation
for child in self._children:
self._allocate_child(child)