Method

GObjectParamSpecget_default_value

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

Returns: GValue
 

A pointer to a GValue which must not be modified.

 The data is owned by the instance.