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 GParamSpec
 

A valid GParamSpec.

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

A GValue of correct type for pspec.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

Whether value contains the canonical default for this pspec.