projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0adffe
)
Revert "container: Fix scroll adjustment coordinates"
author
Timm Bäder
<mail@baedert.org>
Wed, 28 Mar 2018 11:05:01 +0000
(13:05 +0200)
committer
Timm Bäder
<mail@baedert.org>
Wed, 28 Mar 2018 14:32:46 +0000
(16:32 +0200)
This reverts commit
7351848c75e8d6efee154fe77cbd90056ed993b5
.
gtk/gtkcontainer.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcontainer.c
b/gtk/gtkcontainer.c
index 18b6ccfe9ded28f3235660b006adb8bce8274b54..6b7f34d34260899c2da4c3459e87367dc5be65dc 100644
(file)
--- 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;