Method

GLibNodeget_root

Declaration

GNode*
g_node_get_root (
  GNode* node
)

Description

Gets the root of a tree.

This method is not directly available to language bindings.

Return value

Type: GNode

The root of the tree.

The data is owned by the instance.