summaryrefslogtreecommitdiff
path: root/gtk/gtktextdisplay.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-10-19 20:39:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-10-20 06:14:57 -0400
commitb65668a251f7f1913cabcf13efd103898e41b310 (patch)
tree32f40291640ef79af473df3c46688c84b6580cb9 /gtk/gtktextdisplay.c
parent060948d8065686a5aa4dacaafbae9726de4e4139 (diff)
downloadgtk+-b65668a251f7f1913cabcf13efd103898e41b310.tar.gz
Don't use g_slist_next in gtktextdisplay.c
We generally use ->next directly.
Diffstat (limited to 'gtk/gtktextdisplay.c')
-rw-r--r--gtk/gtktextdisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c
index c2e911ad64..fb5ab26240 100644
--- a/gtk/gtktextdisplay.c
+++ b/gtk/gtktextdisplay.c
@@ -970,7 +970,7 @@ gtk_text_layout_draw (GtkTextLayout *layout,
cairo_translate (cr, 0, line_display->height);
gtk_text_layout_free_line_display (layout, line_display);
- tmp_list = g_slist_next (tmp_list);
+ tmp_list = tmp_list->next;
}
gtk_text_layout_wrap_loop_end (layout);