Method

GLibVariantref

Declaration

GVariant*
g_variant_ref (
  GVariant* value
)

Description

Increases the reference count of value.

Available since:2.24

Return value

Returns: GVariant
 

The same value.

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