summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.c
diff options
context:
space:
mode:
authorVolker Sobek <reklov@live.com>2013-12-18 00:04:59 +0100
committerBenjamin Otte <otte@redhat.com>2013-12-18 00:23:47 +0100
commit94e0f1c78df67870a8f97d6f4f9af6809a7c9b3e (patch)
tree206971c43339d4dbf4ffc885a8f19ae1986aee6c /gtk/gtkstylecontext.c
parent77ee1bbfc87f5a9db74501351d43b13767b930e6 (diff)
downloadgtk+-94e0f1c78df67870a8f97d6f4f9af6809a7c9b3e.tar.gz
GtkStyleContext: Invalidate contexts with a path
Fixes a tiny typo in commit f51c9d4154ba1ce4f20f7c4b7f705fe2756cb8ab 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
Diffstat (limited to 'gtk/gtkstylecontext.c')
-rw-r--r--gtk/gtkstylecontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 9f35f42c82..21b3d6ead4 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -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);