[gtk+] GtkColorEditor: Initialize the allocation x/y
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkColorEditor: Initialize the allocation x/y
- Date: Sun, 29 Jun 2014 02:41:18 +0000 (UTC)
commit 8e0ba5bb3eacfdfe60dd089ed0e6bbe9350414f3
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 28 22:38:13 2014 -0400
GtkColorEditor: Initialize the allocation x/y
gtk/gtkcoloreditor.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcoloreditor.c b/gtk/gtkcoloreditor.c
index 3403d3d..c647b8c 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]