Function

GObjectTypeClassref

Declaration

GObjectTypeClass*
g_type_class_ref (
  GType type
)

Description

Increments the reference count of the class structure belonging to type. This function will demand-create the class if it doesn’t exist already.

Parameters

type GType
 

Type ID of a classed type.

Return value

Returns: GTypeClass
 

The GTypeClass structure for the given type ID.

 The data is owned by the called function.