Method

GObjectValuetake_param

Declaration

void
g_value_take_param (
  GValue* value,
  GParamSpec* param
)

Description

Sets the contents of a G_TYPE_PARAM GValue to param and takes over the ownership of the caller’s reference to param; the caller doesn’t have to unref it any more.

Available since:2.4

Parameters

param GParamSpec
 

The GParamSpec to be set.

 The argument can be NULL.
 The data is owned by the caller of the function.