diff options
author | Timm Bäder <mail@baedert.org> | 2018-03-28 13:05:01 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2018-03-28 16:32:46 +0200 |
commit | 0c9c6498c33bd18c2ecd5e6037ddec4e0e1ca534 (patch) | |
tree | d1080c2396556878004ac1a5aeb887f9bc4a9a43 | |
parent | d0adffe6ebed967b7d1db29ff844ce7f94d1cb36 (diff) | |
download | gtk+-0c9c6498c33bd18c2ecd5e6037ddec4e0e1ca534.tar.gz |
Revert "container: Fix scroll adjustment coordinates"
This reverts commit 7351848c75e8d6efee154fe77cbd90056ed993b5.
-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 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; |