diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-10-19 20:36:02 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-10-20 06:14:57 -0400 |
commit | 50c269f846eb4b3dc2dbd0115430d248f9ee03ac (patch) | |
tree | 436ed5f88e346b1c9a421a1281f86e743f94f984 /gtk/gtktextbuffer.c | |
parent | a863b0657686698ecb7d83683ffba4507d602e34 (diff) | |
download | gtk+-50c269f846eb4b3dc2dbd0115430d248f9ee03ac.tar.gz |
Don't use g_slist_next in gtktextbuffer.c
We generally use ->next directly.
Diffstat (limited to 'gtk/gtktextbuffer.c')
-rw-r--r-- | gtk/gtktextbuffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index 885d4cfcc1..536f0a66e4 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -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); |