aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 18:48:20 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-05 14:16:09 +0100
commitd79d8c822858f6ce6aac8531cb338ebb2fca90cd (patch)
tree34126b42f82521285f45778fad794dcdbe9beff7
parent01d2ff5a848b32c468804f259731220159371b5c (diff)
downloadrpmdrake-d79d8c822858f6ce6aac8531cb338ebb2fca90cd.tar
rpmdrake-d79d8c822858f6ce6aac8531cb338ebb2fca90cd.tar.gz
rpmdrake-d79d8c822858f6ce6aac8531cb338ebb2fca90cd.tar.bz2
rpmdrake-d79d8c822858f6ce6aac8531cb338ebb2fca90cd.tar.xz
rpmdrake-d79d8c822858f6ce6aac8531cb338ebb2fca90cd.zip
->get_widgets() now returns an array reference
-rw-r--r--Rpmdrake/widgets.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/widgets.pm b/Rpmdrake/widgets.pm
index 83f5d682..0cd25dcb 100644
--- a/Rpmdrake/widgets.pm
+++ b/Rpmdrake/widgets.pm
@@ -43,7 +43,7 @@ sub new {
return if Time::HiRes::clock_gettime() - $time < 0.200;
$time = Time::HiRes::clock_gettime();
foreach my $anchor (@{$w->{anchors}}) {
- $_->set_size_request($requisition->{width}-30, -1) foreach $anchor->get_widgets;
+ $_->set_size_request($requisition->{width}-30, -1) foreach @{ $anchor->get_widgets };
}
1;
});