mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-28 18:17:34 +00:00
Don't use g_slist_next in gtkstock.c
We generally use ->next directly.
This commit is contained in:
parent
9727a4c4bf
commit
a863b06576
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user