[gtk+] window: Call size_allocate() to allocate a size



commit 4e50596b37eb6747656c24fc53ed42c88e798cf5
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 8ff0a21..8a545fc 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -8642,7 +8642,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]