Method

GLibVariantref

since: 2.24

Declaration [src]

GVariant*
g_variant_ref (
  GVariant* value
)

Description [src]

Increases the reference count of value.

Available since: 2.24

Return value

Type: GVariant

The same value.

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