diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-28 18:22:41 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-05 14:16:08 +0100 |
commit | 6ea01fb3c53e6282cd8054a7a09f4ad13b0c64e3 (patch) | |
tree | 25d3c27c69f1586388bcca1dc65573bfd16f5a1c | |
parent | e643c38f5de6328ed55edaaf4a28006f8153de63 (diff) | |
download | rpmdrake-6ea01fb3c53e6282cd8054a7a09f4ad13b0c64e3.tar rpmdrake-6ea01fb3c53e6282cd8054a7a09f4ad13b0c64e3.tar.gz rpmdrake-6ea01fb3c53e6282cd8054a7a09f4ad13b0c64e3.tar.bz2 rpmdrake-6ea01fb3c53e6282cd8054a7a09f4ad13b0c64e3.tar.xz rpmdrake-6ea01fb3c53e6282cd8054a7a09f4ad13b0c64e3.zip |
fix calling method on unblessed reference
-rw-r--r-- | Rpmdrake/widgets.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/widgets.pm b/Rpmdrake/widgets.pm index 98faf09e..83f5d682 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; }); |