From f6421eb52e630cbea1e33c68bda231d420eced38 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 1 Aug 2017 16:25:24 +0200 Subject: display scrollarea: fix a -Wuninitialized build warning --- capplets/display/scrollarea.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.1