summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-06-28 22:38:13 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-06-28 22:38:13 -0400
commit8e0ba5bb3eacfdfe60dd089ed0e6bbe9350414f3 (patch)
tree2cb0e90398521f1c7f9dd2662330258046793590
parent0b88b869e624df9153d49c23ae0e24d3e899abf1 (diff)
downloadgtk+-8e0ba5bb3eacfdfe60dd089ed0e6bbe9350414f3.tar.gz
GtkColorEditor: Initialize the allocation x/y
-rw-r--r--gtk/gtkcoloreditor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcoloreditor.c b/gtk/gtkcoloreditor.c
index 3403d3d88d..c647b8c5f2 100644
--- a/gtk/gtkcoloreditor.c
+++ b/gtk/gtkcoloreditor.c
@@ -245,6 +245,8 @@ get_child_position (GtkOverlay *overlay,
gtk_widget_get_preferred_size (widget, &req, NULL);
+ allocation->x = 0;
+ allocation->y = 0;
allocation->width = req.width;
allocation->height = req.height;