summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-11-26 18:37:55 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-11-26 18:37:55 +0000
commit64c05dd1d5e523911d77b8ec1e6a8493b32a04f1 (patch)
treea8c78636e5660371678d5fa4c5e0c4c2899a987f /perl-install
parenteb31d84b9f99b1103d1fc4e28a535bfad9d7da48 (diff)
downloaddrakx-64c05dd1d5e523911d77b8ec1e6a8493b32a04f1.tar
drakx-64c05dd1d5e523911d77b8ec1e6a8493b32a04f1.tar.gz
drakx-64c05dd1d5e523911d77b8ec1e6a8493b32a04f1.tar.bz2
drakx-64c05dd1d5e523911d77b8ec1e6a8493b32a04f1.tar.xz
drakx-64c05dd1d5e523911d77b8ec1e6a8493b32a04f1.zip
fix shadow bug due to wrong extraction of allocation data
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ugtk2.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 29c085629..e3bae1c3c 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -817,12 +817,12 @@ sub _create_window($$) {
$table->attach($inner, 0, 1, 0, 1, ['expand', 'fill'], ['expand', 'fill'], 0, 0);
$table->attach(gtksignal_connect(gtkset_size_request(Gtk2::DrawingArea->new, $sqw, 1), expose_event => sub {
$_[0]->window->draw_rectangle($_[0]->style->bg_gc('normal'), 1, 0, 0, $sqw, $sqw);
- $_[0]->window->draw_rectangle($gc, 1, 0, $sqw, $sqw, ($_[0]->allocation)[3]);
+ $_[0]->window->draw_rectangle($gc, 1, 0, $sqw, $sqw, $_[0]->allocation->height);
}),
1, 2, 0, 1, 'fill', 'fill', 0, 0);
$table->attach(gtksignal_connect(gtkset_size_request(Gtk2::DrawingArea->new, 1, $sqw), expose_event => sub {
$_[0]->window->draw_rectangle($_[0]->style->bg_gc('normal'), 1, 0, 0, $sqw, $sqw);
- $_[0]->window->draw_rectangle($gc, 1, $sqw, 0, ($_[0]->allocation)[2], $sqw);
+ $_[0]->window->draw_rectangle($gc, 1, $sqw, 0, $_[0]->allocation->width, $sqw);
}),
0, 1, 1, 2, 'fill', 'fill', 0, 0);
$table->attach(gtksignal_connect(gtkset_size_request(Gtk2::DrawingArea->new, $sqw, $sqw), expose_event => sub {