/* Returns: whether @value contains the canonical default for this @pspec  */
gboolean g_param_value_defaults(GParamSpec *pspec, GValue *value)
/* Returns: whether @value contains the canonical default for this @pspec  */
gboolean g_param_value_defaults(GParamSpec *pspec, GValue *value)
{
  GValue dflt_value = G_VALUE_INIT;
  gboolean defaults;
  g_return_val_if_fail (G_IS_PARAM_SPEC (pspec), FALSE);
  g_return_val_if_fail (G_IS_VALUE (value), FALSE);
  g_return_val_if_fail (PSPEC_APPLIES_TO_VALUE (pspec, value), FALSE);
  g_value_init (&dflt_value, G_PARAM_SPEC_VALUE_TYPE (pspec));
  G_PARAM_SPEC_GET_CLASS (pspec)->value_set_default (pspec, &dflt_value);
  defaults = G_PARAM_SPEC_GET_CLASS (pspec)->values_cmp (pspec, value, &dflt_value) == 0;
  g_value_unset (&dflt_value);
  return defaults;
}