mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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:
parent
e428a0937a
commit
5e8baa5f63
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user