From a863b0657686698ecb7d83683ffba4507d602e34 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 19 Oct 2015 20:34:58 -0400 Subject: [PATCH] Don't use g_slist_next in gtkstock.c We generally use ->next directly. --- gtk/deprecated/gtkstock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/deprecated/gtkstock.c b/gtk/deprecated/gtkstock.c index 71f3c69bbf..bfc75e7534 100644 --- a/gtk/deprecated/gtkstock.c +++ b/gtk/deprecated/gtkstock.c @@ -255,7 +255,7 @@ gtk_stock_list_ids (void) { GList *next; - next = g_list_next (ids); + next = ids->next; if (last_id && strcmp (ids->data, last_id) == 0) { @@ -268,7 +268,7 @@ gtk_stock_list_ids (void) } g_list_free_1 (ids); - + ids = next; }