gtkwindow: Remove an unnecessary set of grip setting

We already update the grip position in _gtk_window_set_allocation, which
is done through the size_allocate above. Receiving a ConfigureNotify
also won't ever change a grip's visibility, so there's no point in
refreshing it.
This commit is contained in:
Jasper St. Pierre 2014-06-26 14:41:02 -04:00
parent 6926821ae1
commit 35f618e71d

View File

@ -9339,9 +9339,6 @@ gtk_window_move_resize (GtkWindow *window)
/* gtk_window_configure_event() filled in widget->allocation */
gtk_widget_size_allocate (widget, &allocation);
set_grip_position (window);
update_grip_visibility (window);
/* If the configure request changed, it means that
* we either:
* 1) coincidentally changed hints or widget properties