summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-11 15:07:22 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-11 15:07:22 +0000
commit70c79d64b40d992cc18ed971d939c9c78eb0543c (patch)
tree28d2fcf5b2f64069dc2b373b1f49dc94f9ce3516 /perl-install/mygtk2.pm
parent2ae96bdeaab391238edab3c5fbb2b522dcf7dc74 (diff)
downloaddrakx-70c79d64b40d992cc18ed971d939c9c78eb0543c.tar
drakx-70c79d64b40d992cc18ed971d939c9c78eb0543c.tar.gz
drakx-70c79d64b40d992cc18ed971d939c9c78eb0543c.tar.bz2
drakx-70c79d64b40d992cc18ed971d939c9c78eb0543c.tar.xz
drakx-70c79d64b40d992cc18ed971d939c9c78eb0543c.zip
(_gtk_any_Box) fix default spacing between GUI elements
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 44dd1092a..51324158e 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -879,7 +879,7 @@ sub _gtk_any_Box {
my ($w, $opts, $class, $action) = @_;
if (!$w) {
- $w = "Gtk2::$class"->new(0,0);
+ $w = "Gtk2::$class"->new;
$w->set_homogeneous(delete $opts->{homogenous}) if exists $opts->{homogenous};
$w->set_spacing(delete $opts->{spacing}) if exists $opts->{spacing};
$w->set_border_width(delete $opts->{border_width}) if exists $opts->{border_width};