summaryrefslogtreecommitdiff
path: root/capplets/display
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-08-01 16:25:24 +0200
committermonsta <[email protected]>2017-12-21 15:00:13 +0300
commit7715cd1dec95a58c11291edd7de25c8cc6bc1dfc (patch)
tree2b082c8816a89f9bd27950a07dd1f44229261d14 /capplets/display
parent0f98ba8b325a306762fd1e2348a3319afaeaa1ee (diff)
downloadmate-control-center-7715cd1dec95a58c11291edd7de25c8cc6bc1dfc.tar.bz2
mate-control-center-7715cd1dec95a58c11291edd7de25c8cc6bc1dfc.tar.xz
display scrollarea: fix a -Wuninitialized build warning
Diffstat (limited to 'capplets/display')
-rw-r--r--capplets/display/scrollarea.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/capplets/display/scrollarea.c b/capplets/display/scrollarea.c
index b475fda2..a21edf50 100644
--- a/capplets/display/scrollarea.c
+++ b/capplets/display/scrollarea.c
@@ -495,6 +495,7 @@ foo_scroll_area_draw (GtkWidget *widget,
scroll_area->priv->current_input = NULL;
/* Finally draw the backing pixmap */
+ gtk_widget_get_allocation (widget, &widget_allocation);
cairo_set_source_surface (widget_cr, scroll_area->priv->surface, widget_allocation.x, widget_allocation.y);
cairo_paint (widget_cr);