concat
Adds the second #GList onto the end of the first #GList. Note that the elements of the second #GList are not copied. They are used directly.
This function is for example used to move an element in the list. The following example moves an element to the top of the list: | list = g_list_remove_link (list, llink); list = g_list_concat (llink, list); |
Return
the start of the new #GList, which equals @list1 if not null
Parameters
list1
a #GList, this must point to the top of the list
list2
the #GList to add to the end of the first #GList, this must point to the top of the list