Function

Purplevalue_new

Declaration [src]

GValue*
purple_value_new (
  GType type
)

Description [src]

Creates a new GValue of the specified type.

Parameters

type GType
 

The type of data to be held by the GValue.

Return value

Returns: GValue
 

The created GValue.

 The caller of the function takes ownership of the data, and is responsible for freeing it.