Method

GObjectValueset_string_take_ownership

deprecated: 2.4 

Declaration

void
g_value_set_string_take_ownership (
  GValue* value,
  gchar* v_string
)

Description

This is an internal function introduced mainly for C marshallers.

Deprecated since: 2.4

Use g_value_take_string() instead.

Parameters

v_string

Type: gchar*

Duplicated unowned string to be set.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.