From 1e66155aec1964bc441a10e30a49b9441f2c8b3a Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Sat, 11 Sep 2010 12:47:31 +0200 Subject: [PATCH] GtkStyleContext: invalidate context when setting the screen --- gtk/gtkstylecontext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index 106f78ae22..522a3e2549 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -1615,6 +1615,8 @@ gtk_style_context_set_screen (GtkStyleContext *context, priv->screen = screen; g_object_notify (G_OBJECT (context), "screen"); + + gtk_style_context_invalidate (context); } GdkScreen *