[gtk+/refactor: 15/17] gtk/gtksizerequest.c: use accessor functions to access GtkWidget



commit 1da04d9d4934017bbb99fb7e14206d5792064413
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Aug 11 23:00:46 2010 +0200

    gtk/gtksizerequest.c: use accessor functions to access GtkWidget

 gtk/gtksizerequest.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtksizerequest.c b/gtk/gtksizerequest.c
index 4af2414..5495d0d 100644
--- a/gtk/gtksizerequest.c
+++ b/gtk/gtksizerequest.c
@@ -258,6 +258,7 @@ compute_size_for_orientation (GtkSizeRequest    *request,
       /* Unconditional size request runs but is often unhandled. */
       do_size_request (widget, &requisition);
 
+      gtk_widget_get_requisition (widget, &requisition);
       if (orientation == GTK_SIZE_GROUP_HORIZONTAL)
         {
           requisition_size = requisition.width;



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