summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
authorYves Duret <yduret@mandriva.com>2001-09-03 20:25:02 +0000
committerYves Duret <yduret@mandriva.com>2001-09-03 20:25:02 +0000
commit68995d4c541c2857ef4881e718b7806b9484a911 (patch)
tree721f21c5bc86abd9847a90d97ec60ecf568ed491 /perl-install/my_gtk.pm
parent3a137b65ff3c93cf20ab18ad59cc8b6faa199f8c (diff)
downloaddrakx-68995d4c541c2857ef4881e718b7806b9484a911.tar
drakx-68995d4c541c2857ef4881e718b7806b9484a911.tar.gz
drakx-68995d4c541c2857ef4881e718b7806b9484a911.tar.bz2
drakx-68995d4c541c2857ef4881e718b7806b9484a911.tar.xz
drakx-68995d4c541c2857ef4881e718b7806b9484a911.zip
fix Embedded mode
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 3a47fadf5..e11f3d3c8 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -100,6 +100,7 @@ sub new {
}
$::isEmbedded or return $o;
+ $::Plug and return $o;
$o->{window} = new Gtk::HBox(0,0);
$o->{rwindow} = $o->{window};
defined($::Plug) or $::Plug = new Gtk::Plug ($::XID);