summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-07-11 13:33:51 +0300
committerOndrej Holy <oholy@redhat.com>2021-11-22 15:16:18 +0000
commit2cf73a92a1802b25272623a760f2d00a29584e4e (patch)
treea9c5a27691b6ac2bc751389237a763500000c63b
parentf717ec01ab94bfcc1632885fd60a4f6f8ce5e4b0 (diff)
downloadnautilus-2cf73a92a1802b25272623a760f2d00a29584e4e.tar.gz
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.
-rw-r--r--src/nautilus-pathbar.c9
1 files changed, 0 insertions, 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)
{