forked from AuroraMiddleware/gtk
Remove a shortcut in gtk_widget_set_focus_child
Since focus can now be represented by more than one state, just looking at the focus_child is no longer sufficient - we may fail to propagate :focus(visible) if we do so. For now, just remove the shortcut and always do the work.
This commit is contained in:
parent
0d4bd034c6
commit
46d4deeb1e
@ -15466,9 +15466,6 @@ gtk_widget_set_focus_child (GtkWidget *widget,
|
||||
|
||||
g_return_if_fail (GTK_IS_WIDGET (widget));
|
||||
|
||||
if (child == priv->focus_child)
|
||||
return;
|
||||
|
||||
if (child != NULL)
|
||||
{
|
||||
g_return_if_fail (GTK_IS_WIDGET (child));
|
||||
|
Loading…
Reference in New Issue
Block a user