[gtk] grid layout: Fix initial property values
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] grid layout: Fix initial property values
- Date: Fri, 28 Jun 2019 12:42:19 +0000 (UTC)
commit 8fa7de5563981c702809c66bf886b53bda932c85
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 28 12:40:25 2019 +0000
grid layout: Fix initial property values
Too bad that we don't cover layout children
in the default value test - it would have
caught this.
gtk/gtkgridlayout.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkgridlayout.c b/gtk/gtkgridlayout.c
index 8d54367a7d..aac06e1709 100644
--- a/gtk/gtkgridlayout.c
+++ b/gtk/gtkgridlayout.c
@@ -212,6 +212,8 @@ gtk_grid_layout_child_class_init (GtkGridLayoutChildClass *klass)
static void
gtk_grid_layout_child_init (GtkGridLayoutChild *self)
{
+ CHILD_ROW_SPAN (self) = 1;
+ CHILD_COL_SPAN (self) = 1;
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]