mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
Don't use g_slist_next in gtktextchild.c
We generally use ->next directly.
This commit is contained in:
parent
5dd78f74e0
commit
060948d806
@ -182,7 +182,7 @@ child_segment_delete_func (GtkTextLineSegment *seg,
|
|||||||
|
|
||||||
gtk_widget_destroy (child);
|
gtk_widget_destroy (child);
|
||||||
|
|
||||||
tmp_list = g_slist_next (tmp_list);
|
tmp_list = tmp_list->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* On removal from the widget's parents (GtkTextView),
|
/* On removal from the widget's parents (GtkTextView),
|
||||||
@ -397,7 +397,7 @@ gtk_text_child_anchor_get_widgets (GtkTextChildAnchor *anchor)
|
|||||||
{
|
{
|
||||||
list = g_list_prepend (list, iter->data);
|
list = g_list_prepend (list, iter->data);
|
||||||
|
|
||||||
iter = g_slist_next (iter);
|
iter = iter->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Order is not relevant, so we don't need to reverse the list
|
/* Order is not relevant, so we don't need to reverse the list
|
||||||
|
Loading…
Reference in New Issue
Block a user