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:
@ -360,6 +360,8 @@ gtk_box_init (GtkBox *box)
|
|||||||
private->spacing = 0;
|
private->spacing = 0;
|
||||||
private->spacing_set = FALSE;
|
private->spacing_set = FALSE;
|
||||||
private->baseline_pos = GTK_BASELINE_POSITION_CENTER;
|
private->baseline_pos = GTK_BASELINE_POSITION_CENTER;
|
||||||
|
|
||||||
|
_gtk_orientable_set_style_classes (GTK_ORIENTABLE (box));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user