Method

IdeObjectref_root

Declaration

IdeObject*
ide_object_ref_root (
  IdeObject* self
)

Description

Finds and returns the toplevel object in the tree.

Return value

Type: IdeObject

An IdeObject.

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