/* g_value_take_param: (skip) @value: a valid #GValue of type G_TYPE_PARAM  */
void g_value_take_param(GValue *value, GParamSpec *param)
/* g_value_take_param: (skip) @value: a valid #GValue of type G_TYPE_PARAM  */
void g_value_take_param(GValue *value, GParamSpec *param)
{
  g_return_if_fail (G_VALUE_HOLDS_PARAM (value));
  if (param)
    g_return_if_fail (G_IS_PARAM_SPEC (param));
  if (value->data[0].v_pointer)
    g_param_spec_unref (value->data[0].v_pointer);
  value->data[0].v_pointer = param;
}