Method

GObjectValueset_object_take_ownership

deprecated: 2.4 

Declaration

void
g_value_set_object_take_ownership (
  GValue* value,
  gpointer v_object
)

Description

This is an internal function introduced mainly for C marshallers.

Deprecated since: 2.4

Use g_value_take_object() instead.

This method is not directly available to language bindings.

Parameters

v_object

Type: gpointer

Object value to be set.

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