Method

GObjectValueinit

Declaration [src]

GValue*
g_value_init (
  GValue* value,
  GType g_type
)

Description [src]

Initializes value with the default value of type.

Parameters

g_type

Type: GType

Type the GValue should hold values of.

Return value

Type: GValue

The GValue structure that has been passed in.

The returned data is owned by the instance.