summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 02:46:00 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-12-20 10:25:03 +0100
commit94af399f6f116f31ae75b0058378e5a4fef152b0 (patch)
treeaf38de0d1b1f83a01bd4ed0a5611c11d37cb1369
parentc594a5650cc0ae7571f635e7a387ddbed4c166df (diff)
downloadcontrol-center-94af399f6f116f31ae75b0058378e5a4fef152b0.tar
control-center-94af399f6f116f31ae75b0058378e5a4fef152b0.tar.gz
control-center-94af399f6f116f31ae75b0058378e5a4fef152b0.tar.bz2
control-center-94af399f6f116f31ae75b0058378e5a4fef152b0.tar.xz
control-center-94af399f6f116f31ae75b0058378e5a4fef152b0.zip
perlish ->style() => ->get_style()
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index 02a186bd..0e796769 100755
--- a/control-center
+++ b/control-center
@@ -1077,7 +1077,7 @@ $wait_darea->signal_connect(draw => sub {
$w->{text_yy} = $w->{pix_yy} + ($w->{pix_width} - $txt_width)/2;
$w->{text_xx} = $w->{pix_xx} + $w->{pix_height} + 5;
}
- $pixbuf->render_to_drawable($w->get_window, $w->style->fg_gc('normal'), 0, 0, $w->{pix_yy}, $w->{pix_xx}, $w->{pix_width}, $w->{pix_height}, 'normal', 0, 0);
+ $pixbuf->render_to_drawable($w->get_window, $w->get_style->fg_gc('normal'), 0, 0, $w->{pix_yy}, $w->{pix_xx}, $w->{pix_width}, $w->{pix_height}, 'normal', 0, 0);
my $style = $wait_darea->{style} ||= $wait_darea->get_style;
$wait_darea->get_window->draw_layout($style->text_gc('normal'), $w->{text_yy}, $w->{text_xx}, $w->{layout});
$run_counter += $run_counter_add;