[gtk+/gtk-3-8] window: Call size_allocate() to allocate a size



commit 18190f6dba097f984d2f015df8d8ebbd4348de40
Author: Benjamin Otte <otte redhat com>
Date:   Thu May 30 19:28:08 2013 +0200

    window: Call size_allocate() to allocate a size
    
    Don't call gtk_container_resize_children().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700185

 gtk/gtkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index e7cb987..da40041 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -7317,7 +7317,7 @@ gtk_window_move_resize (GtkWindow *window)
 
       /* And run the resize queue.
        */
-      gtk_container_resize_children (container);
+      gtk_widget_size_allocate (widget, &allocation);
     }
   
   /* We have now processed a move/resize since the last position


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