[gtk+] container: Fix typo that caused madness
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] container: Fix typo that caused madness
- Date: Thu, 21 Oct 2010 13:31:48 +0000 (UTC)
commit 5e8baa5f634fab61c1e9837bb26b2d10f07e8c72
Author: Benjamin Otte <otte redhat com>
Date: Thu Oct 21 15:31:07 2010 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index f80b633..0cfedfb 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]