From 2cf73a92a1802b25272623a760f2d00a29584e4e Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Wed, 11 Jul 2018 13:33:51 +0300 Subject: 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. --- src/nautilus-pathbar.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c index 53cbe1f5f..b4b51f2fd 100644 --- a/src/nautilus-pathbar.c +++ b/src/nautilus-pathbar.c @@ -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) { -- cgit v1.2.1