[gtk+] GtkSeparator: Set orientable style classes initially
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkSeparator: Set orientable style classes initially
- Date: Fri, 18 Jul 2014 23:41:00 +0000 (UTC)
commit b5ee9da9249e54213d86b5af0f5aac6501d210f4
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 18 19:39:44 2014 -0400
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkseparator.c b/gtk/gtkseparator.c
index 8c6d492..ef36d0e 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]