summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;