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:
Matthias Clasen 2014-07-18 19:39:44 -04:00
parent f1d1f139af
commit b5ee9da924

View File

@ -212,6 +212,7 @@ gtk_separator_init (GtkSeparator *separator)
context = gtk_widget_get_style_context (GTK_WIDGET (separator));
gtk_style_context_add_class (context, GTK_STYLE_CLASS_SEPARATOR);
_gtk_orientable_set_style_classes (GTK_ORIENTABLE (separator));
}
static void