Constructor

PanelSessionnew_from_variant

Declaration [src]

PanelSession*
panel_session_new_from_variant (
  GVariant* variant,
  GError** error
)

Description [src]

Creates a new PanelSession from a GVariant.

This creates a new PanelSession instance from a previous session which had been serialized to variant.

Available since:1.4

Parameters

variant GVariant
 

A GVariant from panel_session_to_variant()

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: PanelSession
 

A PanelSession.

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