summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-17 23:50:45 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-17 23:50:45 +0000
commit6e36e5d6b1d55a4a3bc3796c11e6d306a72d139f (patch)
treeaa3f544f07c559b2ab3507ab0e59337c5185ca88 /perl-install/ugtk2.pm
parentd6fa0eac3f964968cea9acc45802e2b9d2188151 (diff)
downloaddrakx-6e36e5d6b1d55a4a3bc3796c11e6d306a72d139f.tar
drakx-6e36e5d6b1d55a4a3bc3796c11e6d306a72d139f.tar.gz
drakx-6e36e5d6b1d55a4a3bc3796c11e6d306a72d139f.tar.bz2
drakx-6e36e5d6b1d55a4a3bc3796c11e6d306a72d139f.tar.xz
drakx-6e36e5d6b1d55a4a3bc3796c11e6d306a72d139f.zip
kill warnings
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 24cdf474b..9e8c2a47c 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -916,7 +916,7 @@ sub new {
}
$o->{rwindow}->set_position('center_always') if $force_center || $o->{force_center};
$o->{rwindow}->set_modal(1) if $grab || $o->{grab} || $o->{modal};
- $o->{rwindow}->set_transient_for($o->{transient}) if $o->{transient} =~ /Gtk2::Window/;
+ $o->{rwindow}->set_transient_for($o->{transient}) if $o->{transient} && $o->{transient} =~ /Gtk2::Window/;
} else {
$o->{rwindow} = $o->{window} = Gtk2::VBox->new(0,0);