From d3377e9d7afeb8389ddad920ac0104185b27a852 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 4 Dec 2012 16:38:23 +0100 Subject: [PATCH] Don't unnecessarily queue resize in GtkWindow.style_updated GtkWindow always queues a resize on style updates if there is a grip, because it may have been the grip size style properties that changed. However, even if it *were*, and it likely wasn't that would not affect the windows size request, so no need to queue a resize. --- gtk/gtkwindow.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 26cd8f61d5..db6eb7af0c 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -5735,7 +5735,6 @@ gtk_window_style_updated (GtkWidget *widget) rect.width, rect.height); set_grip_shape (window); - gtk_widget_queue_resize (widget); } }