[gtk+/gtk-style-context] 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] GtkStyleContext: invalidate context when setting the screen
- Date: Fri, 24 Sep 2010 20:12:03 +0000 (UTC)
commit 04f2e3fe924d7616fa2d36bea7e6e047b7e6451c
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]