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




commit 2fdf98d2245092bab072c7773ea24c7f5ab45269
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]