Method

GObjectValuetake_string

Declaration

void
g_value_take_string (
  GValue* value,
  gchar* v_string
)

Description

Sets the contents of a G_TYPE_STRING GValue to v_string.

Available since:2.4

Parameters

v_string gchar*
 

String to take ownership of.

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