[gtk+] GtkStyleContext: invalidate context when setting the screen
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkStyleContext: invalidate context when setting the screen
- Date: Sat, 4 Dec 2010 15:01:14 +0000 (UTC)
commit 1e66155aec1964bc441a10e30a49b9441f2c8b3a
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]