GNOME Bugzilla – Bug 702418
spinbutton: save/restore the style context when drawing
Last modified: 2013-12-17 20:51:17 UTC
See patch
Created attachment 246990 [details] [review] spinbutton: save/restore the style context when drawing Since commit 0032b2dc5ad4c5faffb58565a3e4589335005c9e, GtkSpinButton caches the GtkStyleContext objects used for drawing panels; as we use gtk_style_context_set_state() to set appropriate widget state when drawing, we also need to save and restore the context when doing so, or the matching state won't be correctly applied.
Not sure I follow - we always set the current state when drawing. What could go wrong ?
*** This bug has been marked as a duplicate of bug 709491 ***