Method

GObjectValuedup_string

Declaration

gchar*
g_value_dup_string (
  const GValue* value
)

Description

Get a copy the contents of a G_TYPE_STRING GValue.

Return value

Returns: utf8
 

A newly allocated copy of the string content of value.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The string is a NUL terminated UTF-8 string.