pathbar: Drop gtk_widget_set_allocation()

It's gone in GTK4 and removing this doesn't seem to cause any visual or
behavorial change at the moment.
This commit is contained in:
Ernestas Kulik 2018-07-11 13:33:51 +03:00 committed by Ondrej Holy
parent f717ec01ab
commit 2cf73a92a1

View file

@ -473,15 +473,6 @@ nautilus_path_bar_size_allocate (GtkWidget *widget,
self = NAUTILUS_PATH_BAR (widget);
gtk_widget_set_allocation (widget, allocation);
if (gtk_widget_get_realized (widget))
{
gdk_window_move_resize (self->event_window,
allocation->x, allocation->y,
allocation->width, allocation->height);
}
/* No path is set so we don't have to allocate anything. */
if (self->button_list == NULL)
{