Handle on_hide_window() being called with no data. It may actually always be called that way

This commit is contained in:
Chris Jones 2010-04-09 12:30:47 +01:00
parent d8343002f9
commit 5c43b371e9
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class Window(Container, gtk.Window):
self.destroy()
del(self)
def on_hide_window(self, data):
def on_hide_window(self, data=None):
"""Handle a request to hide/show the window"""
# FIXME: Implement or drop, or explain why its empty
pass