spin entry should be a child of spin context

https://bugzilla.gnome.org/show_bug.cgi?id=774609
This commit is contained in:
Caolán McNamara
2016-11-17 10:04:29 +00:00
committed by Matthias Clasen
parent 4ad4275c24
commit ce36ac93f4

View File

@@ -836,7 +836,7 @@ draw_spinbutton (GtkWidget *widget,
/* This information is taken from the GtkSpinButton docs, see "CSS nodes" */
spin_context = get_style (NULL, "spinbutton.horizontal:focus");
entry_context = get_style (NULL, "entry:focus");
entry_context = get_style (spin_context, "entry:focus");
up_context = get_style (spin_context, "button.up:focus:active");
down_context = get_style (spin_context, "button.down:focus");