Method

GObjectParamSpecget_default_value

since: 2.38

Declaration

const GValue*
g_param_spec_get_default_value (
  GParamSpec* pspec
)

Description

Gets the default value of pspec as a pointer to a GValue.

The GValue will remain valid for the life of pspec.

Available since: 2.38

Return value

Type: GValue

A pointer to a GValue which must not be modified.

The data is owned by the instance.