Index: GtkWindow.xs =================================================================== RCS file: /cvsroot/gtk2-perl/gtk2-perl-xs/Gtk2/xs/GtkWindow.xs,v retrieving revision 1.47 diff -u -u -r1.47 GtkWindow.xs --- GtkWindow.xs 17 Aug 2008 17:45:22 -0000 1.47 +++ GtkWindow.xs 19 Aug 2008 00:26:22 -0000 @@ -56,8 +56,8 @@ In a dialog or secondary app window you might not want to destroy but instead just hide ready for later re-use. - $dialog->signal_connect (delete_event => - sub { $dialog->hide (); TRUE; }); + $dialog->signal_connect + (delete_event => \&Gtk2::Widget::hide_on_delete); The choice between destroying or hiding is normally just a matter of memory saved against the time to re-create, and how likely the dialog