]> Pileus Git - ~andy/gtk/commitdiff
css: Avoid queue_resize in _gtk_widget_style_context_invalidated
authorAlexander Larsson <alexl@redhat.com>
Tue, 4 Dec 2012 15:36:37 +0000 (16:36 +0100)
committerAlexander Larsson <alexl@redhat.com>
Tue, 4 Dec 2012 19:16:44 +0000 (20:16 +0100)
We've already emitted style_updated, and the handler for that queues
a resize if necessary.

gtk/gtkwidget.c

index 2f5557929ac0df0d2fbe37669c05444232f592c7..9141a707f786cfc1e9ad8479d06b05a31e2b9806 100644 (file)
@@ -13965,9 +13965,6 @@ _gtk_widget_style_context_invalidated (GtkWidget *widget)
        */
       widget->priv->style_update_pending = TRUE;
     }
-
-  if (widget->priv->anchored)
-    gtk_widget_queue_resize (widget);
 }
 
 /**