projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb04808
)
container: Fix scroll adjustment coordinates
author
Timm Bäder
<mail@baedert.org>
Sat, 17 Mar 2018 10:36:00 +0000
(11:36 +0100)
committer
Timm Bäder
<mail@baedert.org>
Sat, 17 Mar 2018 13:05:55 +0000
(14:05 +0100)
gtk/gtkcontainer.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcontainer.c
b/gtk/gtkcontainer.c
index f3cc9c83c7bf382c3f3e466a87519d25b218fa04..fabdb983f9847052f23543d22b093f4ab31253ba 100644
(file)
--- a/
gtk/gtkcontainer.c
+++ b/
gtk/gtkcontainer.c
@@
-1927,7
+1927,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,
focus_child
,
+ if (!gtk_widget_translate_coordinates (child,
GTK_WIDGET (container)
,
0, 0, &x, &y))
return;