From b5ee9da9249e54213d86b5af0f5aac6501d210f4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 18 Jul 2014 19:39:44 -0400 Subject: [PATCH] GtkSeparator: Set orientable style classes initially This was an omission, horizontal/vertical would only be set when the orientation is changed. --- gtk/gtkseparator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkseparator.c b/gtk/gtkseparator.c index 8c6d49254e..ef36d0e10c 100644 --- a/gtk/gtkseparator.c +++ b/gtk/gtkseparator.c @@ -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