summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-12 01:01:51 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:28:17 +0100
commit10f8d025bf555201fd3051893c47aa1c0655790c (patch)
treeeb8d3a23f34bc1b691661ae2dd87f14e7b508c4f
parent7ef9fc1db488a53e12980f367eb8666f4e840bfb (diff)
downloaddrakx-10f8d025bf555201fd3051893c47aa1c0655790c.tar
drakx-10f8d025bf555201fd3051893c47aa1c0655790c.tar.gz
drakx-10f8d025bf555201fd3051893c47aa1c0655790c.tar.bz2
drakx-10f8d025bf555201fd3051893c47aa1c0655790c.tar.xz
drakx-10f8d025bf555201fd3051893c47aa1c0655790c.zip
fix "Can't call method "x" on unblessed reference"
-rw-r--r--perl-install/ugtk3.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm
index c628b7cb3..3cc54b5f7 100644
--- a/perl-install/ugtk3.pm
+++ b/perl-install/ugtk3.pm
@@ -1556,13 +1556,13 @@ sub RENDER { # not that efficient...
my ($x_offset, $y_offset, $_width, $_height) = calc_size($cell, $layout);
my $pixbuf = $cell->get('pixbuf');
my ($pwidth, $pheight) = pixbuf_size($cell);
- my $txt_offset = $cell_area->x + $x_offset + $x_padding * 2 + $pwidth;
+ my $txt_offset = $cell_area->{x} + $x_offset + $x_padding * 2 + $pwidth;
if ($pixbuf) {
$pixbuf->render_to_drawable($window, $widget->style->fg_gc('normal'),
0, 0,
- $is_rtl ? $cell_area->width - $cell_area->x - $pwidth : $cell_area->x ,#+ $x_padding,
- $cell_area->y, #+ $y_padding,
+ $is_rtl ? $cell_area->{width} - $cell_area->{x} - $pwidth : $cell_area->{x} ,#+ $x_padding,
+ $cell_area->{y}, #+ $y_padding,
$pwidth, $pheight, 'none', 0, 0);
}
$widget->get_style->paint_layout($window,
@@ -1571,8 +1571,8 @@ sub RENDER { # not that efficient...
$cell_area,
$widget,
"cellrenderertext",
- $is_rtl ? $cell_area->width - $txt_width - $txt_offset : $txt_offset,
- $cell_area->y + $y_offset + $y_padding,
+ $is_rtl ? $cell_area->{width} - $txt_width - $txt_offset : $txt_offset,
+ $cell_area->{y} + $y_offset + $y_padding,
$layout);
}