Don't use g_slist_next in gtktextbuffer.c

We generally use ->next directly.
This commit is contained in:
Matthias Clasen 2015-10-19 20:36:02 -04:00
parent a863b06576
commit 50c269f846

View File

@ -1329,8 +1329,8 @@ insert_range_not_inside_self (GtkTextBuffer *buffer,
tmp_list->data,
&start_iter,
iter);
tmp_list = g_slist_next (tmp_list);
tmp_list = tmp_list->next;
}
g_slist_free (tags);
@ -2798,7 +2798,7 @@ gtk_text_buffer_remove_all_tags (GtkTextBuffer *buffer,
{
tags = g_slist_prepend (tags, tmp_list2->data);
tmp_list2 = g_slist_next (tmp_list2);
tmp_list2 = tmp_list2->next;
}
g_slist_free (toggled);