[gtk/stack-fixes] stack switcher: Remove a redundant style class
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/stack-fixes] stack switcher: Remove a redundant style class
- Date: Sat, 9 Feb 2019 19:44:58 +0000 (UTC)
commit 6e640ae99aaf560755e4eeca2ea4d0346300ec06
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 9 14:43:57 2019 -0500
stack switcher: Remove a redundant style class
We already use stackswitcher as element name.
No need to add a .stack-switcher style class
on top of it.
gtk/gtkstackswitcher.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtkstackswitcher.c b/gtk/gtkstackswitcher.c
index c1a1cf591f..da268fb694 100644
--- a/gtk/gtkstackswitcher.c
+++ b/gtk/gtkstackswitcher.c
@@ -94,7 +94,6 @@ gtk_stack_switcher_init (GtkStackSwitcher *switcher)
priv->buttons = g_hash_table_new (g_direct_hash, g_direct_equal);
context = gtk_widget_get_style_context (GTK_WIDGET (switcher));
- gtk_style_context_add_class (context, "stack-switcher");
gtk_style_context_add_class (context, GTK_STYLE_CLASS_LINKED);
gtk_orientable_set_orientation (GTK_ORIENTABLE (switcher), GTK_ORIENTATION_HORIZONTAL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]