Function

EDataServerClientutil_copy_object_slist

deprecated: 3.8 since: 3.2

Declaration [src]

GSList*
e_client_util_copy_object_slist (
  GSList* copy_to,
  const GSList* objects
)

Description [src]

Copies a GSList of GObjects to the end of copy_to.

Available since: 3.2

Deprecated since: 3.8

Use e_util_copy_object_slist() instead.

Parameters

copy_to

Type: A list of GObject*

Where to copy; may be NULL.

The argument can be NULL.
The called function takes ownership of the data, and is responsible for freeing it.
objects

Type: A list of GObject*

GSList of GObjects to be copied.

The data is owned by the caller of the function.

Return value

Type: A list of GObject*

New head of copy_to. The returned pointer can be freed with e_client_util_free_object_slist().

The caller of the function takes ownership of the data, and is responsible for freeing it.