aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-23 09:02:23 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-23 09:02:23 +0000
commitcd0309911217148efc616c24915e741bcb72e555 (patch)
tree0c44d19f54be4436d1a663056cca680559d39342
parent8d02057c35652cce4fd0b0d895a49921096041e2 (diff)
downloadrpmdrake-cd0309911217148efc616c24915e741bcb72e555.tar
rpmdrake-cd0309911217148efc616c24915e741bcb72e555.tar.gz
rpmdrake-cd0309911217148efc616c24915e741bcb72e555.tar.bz2
rpmdrake-cd0309911217148efc616c24915e741bcb72e555.tar.xz
rpmdrake-cd0309911217148efc616c24915e741bcb72e555.zip
fix #4248 (crash when asking for more infos in rpmdrake-remove)
-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;