From d79d8c822858f6ce6aac8531cb338ebb2fca90cd Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 28 Nov 2013 18:48:20 +0100 Subject: ->get_widgets() now returns an array reference --- Rpmdrake/widgets.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rpmdrake') 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; }); -- cgit v1.2.1