[nautilus/wip/antoniof/gtk4-preparation-drop-outgoing-api: 6/8] pathbar: Drop gtk_widget_set_allocation()




commit efdb754f5821a8b1710babb47f5c580d722b9e26
Author: Ernestas Kulik <ernestask gnome org>
Date:   Wed Jul 11 13:33:51 2018 +0300

    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 098a08075..7455ef535 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -474,15 +474,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)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]