Method

GObjectValuetake_boxed

Declaration

void
g_value_take_boxed (
  GValue* value,
  gconstpointer v_boxed
)

Description

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

Available since:2.4

Parameters

v_boxed gconstpointer
 

Duplicated unowned boxed value to be set.