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




commit 51fdbb0f88c2b7fa05f5bf5529ca0ea36e3fddf1
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 84116bd78..d3c1f89c7 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -476,15 +476,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]