aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 3e7df118..7d4c8fa4 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -124,8 +124,8 @@ sub interactive_packtable {
if_($top_label, 0, Gtk2::Label->new($top_label)),
1, create_scrolled_window($packtable),
0, gtkpack__(create_hbox(), @$action_buttons)));
- my ($xpreq, $ypreq) = $packtable->size_request->values;
- my ($xwreq, $ywreq) = $w->{rwindow}->size_request->values;
+ my ($xpreq, $ypreq) = $packtable->get_size_request;
+ my ($xwreq, $ywreq) = $w->{rwindow}->get_size_request;
$w->{rwindow}->set_default_size(max($typical_width, min($typical_width*2.5, $xpreq+$xwreq)),
max(200, min(450, $ypreq+$ywreq)));
$w->main;