From ce36ac93f4eb9be09c85f248cc5c60affb986777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 17 Nov 2016 10:04:29 +0000 Subject: [PATCH] spin entry should be a child of spin context https://bugzilla.gnome.org/show_bug.cgi?id=774609 --- demos/gtk-demo/foreigndrawing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/gtk-demo/foreigndrawing.c b/demos/gtk-demo/foreigndrawing.c index 11b8b44068..005eb19db8 100644 --- a/demos/gtk-demo/foreigndrawing.c +++ b/demos/gtk-demo/foreigndrawing.c @@ -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");