summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-03-28 13:05:01 +0200
committerTimm Bäder <mail@baedert.org>2018-03-28 16:32:46 +0200
commit0c9c6498c33bd18c2ecd5e6037ddec4e0e1ca534 (patch)
treed1080c2396556878004ac1a5aeb887f9bc4a9a43
parentd0adffe6ebed967b7d1db29ff844ce7f94d1cb36 (diff)
downloadgtk+-0c9c6498c33bd18c2ecd5e6037ddec4e0e1ca534.tar.gz
Revert "container: Fix scroll adjustment coordinates"
This reverts commit 7351848c75e8d6efee154fe77cbd90056ed993b5.
-rw-r--r--gtk/gtkcontainer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 18b6ccfe9d..6b7f34d342 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -1905,7 +1905,7 @@ gtk_container_real_set_focus_child (GtkContainer *container,
while (gtk_widget_get_focus_child (child))
child = gtk_widget_get_focus_child (child);
- if (!gtk_widget_translate_coordinates (child, GTK_WIDGET (container),
+ if (!gtk_widget_translate_coordinates (child, focus_child,
0, 0, &x, &y))
return;