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.
This commit is contained in:
Alexander Larsson 2012-12-04 16:38:23 +01:00
parent faaae520c9
commit d3377e9d7a

View File

@ -5735,7 +5735,6 @@ gtk_window_style_updated (GtkWidget *widget)
rect.width, rect.height);
set_grip_shape (window);
gtk_widget_queue_resize (widget);
}
}