[gtk+/gtk-style-context] GtkWidget: queue a resize when style context changed
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context] GtkWidget: queue a resize when style context changed
- Date: Fri, 3 Dec 2010 13:37:06 +0000 (UTC)
commit c05251b3c714992def6c17d5f39d8e9071661173
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Fri Dec 3 14:10:32 2010 +0100
GtkWidget: queue a resize when style context changed
gtk/gtkwidget.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 1fefb69..6b78cc1 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -6342,6 +6342,7 @@ gtk_widget_real_style_updated (GtkWidget *widget)
{
if (widget->priv->context)
gtk_style_context_invalidate (widget->priv->context);
+ gtk_widget_queue_resize (widget);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]