summaryrefslogtreecommitdiff
path: root/gtk/gtkseparator.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-07-18 19:39:44 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-07-18 19:39:44 -0400
commitb5ee9da9249e54213d86b5af0f5aac6501d210f4 (patch)
tree245f7413c295c82923e823ff69e6eeabb0487cd0 /gtk/gtkseparator.c
parentf1d1f139af32f3fe59018e7fe30f8b7a0a1b6118 (diff)
downloadgtk+-b5ee9da9249e54213d86b5af0f5aac6501d210f4.tar.gz
GtkSeparator: Set orientable style classes initially
This was an omission, horizontal/vertical would only be set when the orientation is changed.
Diffstat (limited to 'gtk/gtkseparator.c')
-rw-r--r--gtk/gtkseparator.c1
1 files changed, 1 insertions, 0 deletions
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