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

This commit is contained in:
Javier Jardón 2010-08-11 23:19:15 +02:00
parent 2201b2abb6
commit 091335fcb4

View File

@ -496,7 +496,7 @@ gtk_alignment_size_allocate (GtkWidget *widget,
padding_horizontal = 0; padding_horizontal = 0;
padding_vertical = 0; padding_vertical = 0;
widget->allocation = *allocation; gtk_widget_set_allocation (widget, allocation);
bin = GTK_BIN (widget); bin = GTK_BIN (widget);
bin_child = gtk_bin_get_child (bin); bin_child = gtk_bin_get_child (bin);