container: Fix typo that caused madness

Interestingly, this typo has been causing madness since 2 months, but
Mitch complained only today.
This commit is contained in:
Benjamin Otte 2010-10-21 15:31:07 +02:00
parent e428a0937a
commit 5e8baa5f63

View File

@ -2310,7 +2310,7 @@ get_allocation_coords (GtkContainer *container,
GtkWidget *widget,
GdkRectangle *allocation)
{
gtk_widget_set_allocation (widget, allocation);
gtk_widget_get_allocation (widget, allocation);
return gtk_widget_translate_coordinates (widget, GTK_WIDGET (container),
0, 0, &allocation->x, &allocation->y);