Method

IdeTweaksItemget_ancestor

Declaration

gpointer
ide_tweaks_item_get_ancestor (
  IdeTweaksItem* self,
  GType ancestor_type
)

Description

Finds the first ancestor of self matching the GType ancestor_type.

Parameters

ancestor_type

Type: GType

The GType of IdeTweaksItem or subclass.

Return value

Type: gpointer

An IdeTweaksItem or NULL.

The data is owned by the instance.
The return value can be NULL.