GtkSeparator: 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:
parent
f1d1f139af
commit
b5ee9da924
@ -212,6 +212,7 @@ gtk_separator_init (GtkSeparator *separator)
|
|||||||
|
|
||||||
context = gtk_widget_get_style_context (GTK_WIDGET (separator));
|
context = gtk_widget_get_style_context (GTK_WIDGET (separator));
|
||||||
gtk_style_context_add_class (context, GTK_STYLE_CLASS_SEPARATOR);
|
gtk_style_context_add_class (context, GTK_STYLE_CLASS_SEPARATOR);
|
||||||
|
_gtk_orientable_set_style_classes (GTK_ORIENTABLE (separator));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user