diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-07-18 19:39:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-07-18 19:39:44 -0400 |
commit | b5ee9da9249e54213d86b5af0f5aac6501d210f4 (patch) | |
tree | 245f7413c295c82923e823ff69e6eeabb0487cd0 /gtk/gtkseparator.c | |
parent | f1d1f139af32f3fe59018e7fe30f8b7a0a1b6118 (diff) | |
download | gtk+-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.c | 1 |
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 |