[gtk+/gtk-style-context: 224/540] GtkStyleContext: invalidate context when setting the screen
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 224/540] GtkStyleContext: invalidate context when setting the screen
- Date: Fri, 3 Dec 2010 02:54:57 +0000 (UTC)
commit 15f725ac64dbc10ee8cddb190b74c54df390155c
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Sep 11 12:47:31 2010 +0200
GtkStyleContext: invalidate context when setting the screen
gtk/gtkstylecontext.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 106f78a..522a3e2 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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]