Method

IdeSessionto_variant

Declaration

GVariant*
ide_session_to_variant (
  IdeSession* self
)

Description

Serializes a IdeSession as a GVariant

The result of this function may be passed to ide_session_new_from_variant() to recreate a IdeSession.

The resulting variant will not be floating.

Return value

Type: GVariant

A GVariant.

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