forked from AuroraMiddleware/gtk
GtkStyleContext: Invalidate contexts with a path
Fixes a tiny typo in commit f51c9d4154
which manifested itself in GtkSpinButton's panels being drawn with an
incorrect, not updated state.
This patch took me more hours than you might think! :P
https://bugzilla.gnome.org/show_bug.cgi?id=709491
This commit is contained in:
parent
77ee1bbfc8
commit
94e0f1c78d
@ -3373,7 +3373,7 @@ _gtk_style_context_queue_invalidate (GtkStyleContext *context,
|
||||
priv->pending_changes |= change;
|
||||
gtk_style_context_set_invalid (context, TRUE);
|
||||
}
|
||||
else if (priv->widget_path == NULL)
|
||||
else if (priv->widget_path != NULL)
|
||||
{
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
|
||||
gtk_style_context_invalidate (context);
|
||||
|
Loading…
Reference in New Issue
Block a user