[gtk+/wip/baedert/drawing: 100/262] flowbox: Initialize allocation
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 100/262] flowbox: Initialize allocation
- Date: Tue, 6 Jun 2017 09:28:06 +0000 (UTC)
commit 9bec0f1aebdb75e616192a5f97b1dfb7791cd93e
Author: Timm Bäder <mail baedert org>
Date: Thu May 4 18:32:45 2017 +0200
flowbox: Initialize allocation
gtk/gtkflowbox.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c
index f511fa0..820caae 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]