From 896a554ac1a8f32ebb45ce883cfa1a9ab3f2af8f Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 6 Feb 2004 14:48:44 +0000 Subject: make use of shrink_window --- gurpm.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gurpm.pm b/gurpm.pm index 48008891..11e07981 100644 --- a/gurpm.pm +++ b/gurpm.pm @@ -73,7 +73,9 @@ sub invalidate_cancel { } sub invalidate_cancel_forever { - $hbox_cancel and $hbox_cancel->destroy; + $hbox_cancel or return; + $hbox_cancel->destroy; + $mainw->shrink_topwindow; } 1; -- cgit v1.2.1