[gtk+] GtkGrid: Set orientable style classes initially
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkGrid: Set orientable style classes initially
- Date: Fri, 18 Jul 2014 23:40:40 +0000 (UTC)
commit cd6c88079009f691ab2dfe88c739d4fdb53bc56a
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 18 19:38:37 2014 -0400
GtkGrid: Set orientable style classes initially
This was an omission, horizontal/vertical would only be set
when the orientation is changed.
gtk/gtkgrid.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c
index 204c9ae..d735e63 100644
--- a/gtk/gtkgrid.c
+++ b/gtk/gtkgrid.c
@@ -397,6 +397,8 @@ gtk_grid_init (GtkGrid *grid)
priv->linedata[0].homogeneous = FALSE;
priv->linedata[1].homogeneous = FALSE;
+
+ _gtk_orientable_set_style_classes (GTK_ORIENTABLE (grid));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]