summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2012-12-04 16:38:23 +0100
committerAlexander Larsson <alexl@redhat.com>2012-12-04 21:24:24 +0100
commitd3377e9d7afeb8389ddad920ac0104185b27a852 (patch)
treeaa25e6d94febc36f4c21b905963191bf29e782f7 /gtk/gtkwindow.c
parentfaaae520c98af1c27ca1e97ca8f33655ec6b575e (diff)
downloadgtk+-d3377e9d7afeb8389ddad920ac0104185b27a852.tar.gz
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.
Diffstat (limited to 'gtk/gtkwindow.c')
-rw-r--r--gtk/gtkwindow.c1
1 files changed, 0 insertions, 1 deletions
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);
}
}