summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index 0d7c8cb6..6247f5cd 100755
--- a/control-center
+++ b/control-center
@@ -1053,7 +1053,7 @@ $wait_darea->signal_connect(draw => sub {
if (!$wait_darea->{first_expose}) {
$wait_darea->{first_expose} = 1;
my $size = $wait_darea->{size};
- my ($d_width, $d_height) = ($size->width, $size->height);
+ my ($d_width, $d_height) = ($size->{width}, $size->{height});
($w->{pix_width}, $w->{pix_height}) = ($pixbuf->get_allocated_width, $pixbuf->get_allocated_height);
my ($txt_width, $txt_height) = $wait_darea->{layout}->get_pixel_size;
$w->{pix_yy} = ($d_width - $w->{pix_width})/2;