From 6cf928fcc1227753f6f4e7da0ae50968efb037b8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 12 Jan 2005 13:24:16 +0000 Subject: return the child when MagicWindow is using the $::WizardWindow (otherwise the user of the MagicWindow can destroy the WizardWindow) --- perl-install/mygtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/mygtk2.pm') diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 64e5c216a..6b7811ab4 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -482,7 +482,7 @@ sub _gtk__MagicWindow { } gtkadd($::WizardTable, children_loose => [ $sub_child ]); - $w = $::WizardWindow; + $w = $sub_child; } $w; } -- cgit v1.2.1