Function

GObjectparam_value_defaults

Declaration [src]

gboolean
g_param_value_defaults (
  GParamSpec* pspec,
  const GValue* value
)

Description [src]

Checks whether value contains the default value as specified in pspec.

Parameters

pspec

Type: GParamSpec

A valid GParamSpec.

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

Type: GValue

A GValue of correct type for pspec.

The data is owned by the caller of the function.

Return value

Type: gboolean

Whether value contains the canonical default for this pspec.