diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-11-17 10:04:29 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-11-17 05:55:20 -0500 |
commit | ce36ac93f4eb9be09c85f248cc5c60affb986777 (patch) | |
tree | 4ace7fc3d4646f6f0d558f9a1167ab8ea5dafa67 /demos/gtk-demo/foreigndrawing.c | |
parent | 4ad4275c24e43c40ecb71642f9008d4d37985ccf (diff) | |
download | gtk+-ce36ac93f4eb9be09c85f248cc5c60affb986777.tar.gz |
spin entry should be a child of spin context
https://bugzilla.gnome.org/show_bug.cgi?id=774609
Diffstat (limited to 'demos/gtk-demo/foreigndrawing.c')
-rw-r--r-- | demos/gtk-demo/foreigndrawing.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |