diff options
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r-- | perl-install/mygtk2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index cb93ef680..30c3efcdc 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -335,7 +335,7 @@ sub _gtk__ScrolledWindow { if (!$w) { $w = Gtk2::ScrolledWindow->new(undef, undef); - $w->set_policy(@{delete $opts->{policy} || [ 'automatic', 'automatic' ]}); + $w->set_policy(delete $opts->{h_policy} || 'automatic', delete $opts->{v_policy} || 'automatic'); } if (my $child = delete $opts->{child}) { |