]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkcontainer.c
container: Fix typo that caused madness
[~andy/gtk] / gtk / gtkcontainer.c
index f80b6338934d6b2da7257f079254fc910825d441..0cfedfb793a1693c467bee7071aeed169ca1e404 100644 (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);