diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-10-19 20:38:38 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-10-20 06:14:57 -0400 |
commit | 060948d8065686a5aa4dacaafbae9726de4e4139 (patch) | |
tree | c6994ffeb23930aa0b9bf4b9d0a4b44368177dad | |
parent | 5dd78f74e0cb8a878fcd010f300a6c94b0da94bd (diff) | |
download | gtk+-060948d8065686a5aa4dacaafbae9726de4e4139.tar.gz |
Don't use g_slist_next in gtktextchild.c
We generally use ->next directly.
-rw-r--r-- | gtk/gtktextchild.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktextchild.c b/gtk/gtktextchild.c index 3c075ead08..2ff7de2394 100644 --- a/gtk/gtktextchild.c +++ b/gtk/gtktextchild.c @@ -182,7 +182,7 @@ child_segment_delete_func (GtkTextLineSegment *seg, gtk_widget_destroy (child); - tmp_list = g_slist_next (tmp_list); + tmp_list = tmp_list->next; } /* 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); - iter = g_slist_next (iter); + iter = iter->next; } /* Order is not relevant, so we don't need to reverse the list |