diff options
author | Benjamin Otte <otte@redhat.com> | 2010-10-21 15:31:07 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-10-21 15:31:07 +0200 |
commit | 5e8baa5f634fab61c1e9837bb26b2d10f07e8c72 (patch) | |
tree | ab46b9e8e76da30680e95d8c5ab0a9f4910e8dad /gtk/gtkcontainer.c | |
parent | e428a0937a2eefebff3cae38fd085b7cee1340ea (diff) | |
download | gtk+-5e8baa5f634fab61c1e9837bb26b2d10f07e8c72.tar.gz |
container: Fix typo that caused madness
Interestingly, this typo has been causing madness since 2 months, but
Mitch complained only today.
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r-- | gtk/gtkcontainer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |