summaryrefslogtreecommitdiff
path: root/capplets/display
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-08-01 16:25:24 +0200
committerraveit65 <[email protected]>2017-08-15 10:52:56 +0200
commitf6421eb52e630cbea1e33c68bda231d420eced38 (patch)
treed60a7eae1f771aefb8098d29ea9278c12a485a52 /capplets/display
parent3b04abf8487f6f61fc991ea365ce79cc88778ae6 (diff)
downloadmate-control-center-f6421eb52e630cbea1e33c68bda231d420eced38.tar.bz2
mate-control-center-f6421eb52e630cbea1e33c68bda231d420eced38.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 b3302a75..54284818 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);