summaryrefslogtreecommitdiff
path: root/gtk/gtkgrid.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-07-18 19:38:37 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-07-18 19:38:37 -0400
commitcd6c88079009f691ab2dfe88c739d4fdb53bc56a (patch)
tree5faf0b8610a299452d97ea1af733a57b0acca0cf /gtk/gtkgrid.c
parent7ed133397ac648bd775b3f3f997ba14636506c22 (diff)
downloadgtk+-cd6c88079009f691ab2dfe88c739d4fdb53bc56a.tar.gz
GtkGrid: Set orientable style classes initially
This was an omission, horizontal/vertical would only be set when the orientation is changed.
Diffstat (limited to 'gtk/gtkgrid.c')
-rw-r--r--gtk/gtkgrid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c
index 204c9ae44d..d735e63224 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