GtkBox: Set orientable style classes initially

This was an omission, horizontal/vertical would only be set
when the orientation is changed.
This commit is contained in:
Matthias Clasen 2014-07-18 19:37:33 -04:00
parent 663a50dd4e
commit b4ab29d4d5

View File

@ -360,6 +360,8 @@ gtk_box_init (GtkBox *box)
private->spacing = 0;
private->spacing_set = FALSE;
private->baseline_pos = GTK_BASELINE_POSITION_CENTER;
_gtk_orientable_set_style_classes (GTK_ORIENTABLE (box));
}
static void