summaryrefslogtreecommitdiff
path: root/gtk/gtkflowbox.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-05-04 18:32:45 +0200
committerMatthias Clasen <mclasen@redhat.com>2017-07-19 21:27:11 -0400
commitc268ed832d2b9297383fd5a96d89dd62bc06548e (patch)
tree222282d9e6df2ef796057a189c200293d056887e /gtk/gtkflowbox.c
parentb60686e8f128afce7889d77640b87b401dfd1f1b (diff)
downloadgtk+-c268ed832d2b9297383fd5a96d89dd62bc06548e.tar.gz
flowbox: Initialize allocation
Diffstat (limited to 'gtk/gtkflowbox.c')
-rw-r--r--gtk/gtkflowbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c
index f511fa0a63..820caaeb7e 100644
--- a/gtk/gtkflowbox.c
+++ b/gtk/gtkflowbox.c
@@ -2443,6 +2443,8 @@ gtk_flow_box_snapshot (GtkWidget *widget,
gtk_widget_get_allocation (widget, &allocation);
+ gtk_widget_get_allocation (widget, &allocation);
+
x = allocation.x;
y = allocation.y;
width = allocation.width;