Method

GLibTreeref

since: 2.22

Declaration

GTree*
g_tree_ref (
  GTree* tree
)

Description

Increments the reference count of tree by one.

It is safe to call this function from any thread.

Available since: 2.22

Return value

Type: GTree

The passed in GTree.

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