Function

GObjectparam_value_set_default

Declaration [src]

void
g_param_value_set_default (
  GParamSpec* pspec,
  GValue* value
)

Description [src]

Sets value to its default value as specified in pspec.

Parameters

pspec GParamSpec
 

A valid GParamSpec.

 The data is owned by the caller of the function.
value GValue
 

A GValue of correct type for pspec; since 2.64, you can also pass an empty GValue, initialized with G_VALUE_INIT.

 The data is owned by the caller of the function.