mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 13:40:31 +00:00
Don't use g_list_next in gtkcontainer.c
We generally access ->next directory.
This commit is contained in:
parent
a0379d5424
commit
b84797a2c6
@ -3383,7 +3383,7 @@ gtk_container_set_focus_chain (GtkContainer *container,
|
||||
G_CALLBACK (chain_widget_destroyed),
|
||||
container);
|
||||
|
||||
tmp_list = g_list_next (tmp_list);
|
||||
tmp_list = tmp_list->next;
|
||||
}
|
||||
|
||||
chain = g_list_reverse (chain);
|
||||
@ -3464,7 +3464,7 @@ gtk_container_unset_focus_chain (GtkContainer *container)
|
||||
chain_widget_destroyed,
|
||||
container);
|
||||
|
||||
tmp_list = g_list_next (tmp_list);
|
||||
tmp_list = tmp_list->next;
|
||||
}
|
||||
|
||||
g_list_free (chain);
|
||||
|
Loading…
Reference in New Issue
Block a user