diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-23 09:02:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-23 09:02:23 +0000 |
commit | cd0309911217148efc616c24915e741bcb72e555 (patch) | |
tree | 0c44d19f54be4436d1a663056cca680559d39342 /rpmdrake.pm | |
parent | 8d02057c35652cce4fd0b0d895a49921096041e2 (diff) | |
download | rpmdrake-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)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 4 |
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; |