[gtk+/refactor: 95/145] gtk/gtkalignment.c: use accessor functions to access GtkWidget



commit d1ef8aaa586abdfe2311ddb80306466bdb75d8a3
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Aug 11 23:19:15 2010 +0200

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

 gtk/gtkalignment.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c
index d36da48..2e3a8bb 100644
--- a/gtk/gtkalignment.c
+++ b/gtk/gtkalignment.c
@@ -496,7 +496,7 @@ gtk_alignment_size_allocate (GtkWidget     *widget,
   padding_horizontal = 0;
   padding_vertical = 0;
 
-  widget->allocation = *allocation;
+  gtk_widget_set_allocation (widget, allocation);
   bin = GTK_BIN (widget);
 
   bin_child = gtk_bin_get_child (bin);



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