summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2006-03-30 14:42:45 +0000
committerJohan Dahlin <johan@src.gnome.org>2006-03-30 14:42:45 +0000
commitf61d290c9091bc5212fff938cd064e4c5e5d58a2 (patch)
tree7ef08dbcc7bace82c7a4f7d086c61c58665ea44a /examples
parent3eb25af0aa3ecda7c60711fc76a09beef84a6ba2 (diff)
downloadpygtk-f61d290c9091bc5212fff938cd064e4c5e5d58a2.tar.gz
destroy the window
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 6df15e55..18f7a3db 100644
--- a/examples/gtk/scrollable.py
+++ b/examples/gtk/scrollable.py
@@ -125,6 +125,7 @@ class Layout(gtk.Container):
def do_unrealize(self):
self._bin_window.set_user_data(None)
+ self._bin_window.destroy()
self._bin_window = None
gtk.Container.do_unrealize(self)