From 5e8baa5f634fab61c1e9837bb26b2d10f07e8c72 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 21 Oct 2010 15:31:07 +0200 Subject: [PATCH] container: Fix typo that caused madness Interestingly, this typo has been causing madness since 2 months, but Mitch complained only today. --- gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index f80b633893..0cfedfb793 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -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);