mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
Don't use g_slist_next in the testsuite
We generally use ->next directly.
This commit is contained in:
parent
2dc63dad34
commit
e9aa33527f
@ -111,7 +111,7 @@ count_toggles_at_iter (GtkTextIter *iter,
|
||||
else if (of_tag == tmp->data)
|
||||
++count;
|
||||
|
||||
tmp = g_slist_next (tmp);
|
||||
tmp = tmp->next;
|
||||
}
|
||||
|
||||
g_slist_free (tags);
|
||||
@ -480,7 +480,7 @@ run_tests (GtkTextBuffer *buffer)
|
||||
|
||||
g_hash_table_insert (tag_states, tag, GINT_TO_POINTER (TRUE));
|
||||
|
||||
tmp = g_slist_next (tmp);
|
||||
tmp = tmp->next;
|
||||
}
|
||||
|
||||
g_slist_free (tags);
|
||||
@ -503,7 +503,7 @@ run_tests (GtkTextBuffer *buffer)
|
||||
|
||||
g_hash_table_remove (tag_states, tag);
|
||||
|
||||
tmp = g_slist_next (tmp);
|
||||
tmp = tmp->next;
|
||||
}
|
||||
|
||||
g_slist_free (tags);
|
||||
@ -556,7 +556,7 @@ run_tests (GtkTextBuffer *buffer)
|
||||
|
||||
g_hash_table_insert (tag_states, tag, GINT_TO_POINTER (TRUE));
|
||||
|
||||
tmp = g_slist_next (tmp);
|
||||
tmp = tmp->next;
|
||||
}
|
||||
|
||||
g_slist_free (tags);
|
||||
@ -579,7 +579,7 @@ run_tests (GtkTextBuffer *buffer)
|
||||
|
||||
g_hash_table_remove (tag_states, tag);
|
||||
|
||||
tmp = g_slist_next (tmp);
|
||||
tmp = tmp->next;
|
||||
}
|
||||
|
||||
g_slist_free (tags);
|
||||
|
Loading…
Reference in New Issue
Block a user