Function

ValentNotificationdeserialize

unstable since: 1.0

Declaration [src]

ValentNotification*
valent_notification_deserialize (
  GVariant* variant
)

Description [src]

Deserializes variant into a ValentNotification. Since ValentNotification is effectively a super-set of GNotification, variant may be a serialized GNotification or ValentNotification.

Available since: 1.0

Parameters

variant

Type: GVariant

A GVariant.

The data is owned by the caller of the function.

Return value

Type: ValentNotification

A ValentNotification.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.