[libgd/wip/ernestask/gtk4: 10/23] margin-container: remove call to gtk_widget_set_allocation()



commit b260ad2d788cac8961e7cee7b222fb673fcd82e1
Author: Ernestas Kulik <ernestask gnome org>
Date:   Mon Mar 5 17:48:24 2018 +0200

    margin-container: remove call to gtk_widget_set_allocation()
    
    It was removed with no replacement - it’s done automatically.

 libgd/gd-margin-container.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libgd/gd-margin-container.c b/libgd/gd-margin-container.c
index 1d4243b..a6c4975 100644
--- a/libgd/gd-margin-container.c
+++ b/libgd/gd-margin-container.c
@@ -153,7 +153,6 @@ gd_margin_container_size_allocate (GtkWidget           *widget,
   gint avail_width, avail_height;
 
   child = gtk_bin_get_child (GTK_BIN (widget));
-  gtk_widget_set_allocation (widget, allocation);
 
   if (child && gtk_widget_get_visible (child))
     {


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