Constructor

PurpleNotificationnew_from_authorization_request

since: 3.0

Declaration [src]

PurpleNotification*
purple_notification_new_from_authorization_request (
  PurpleAuthorizationRequest* authorization_request
)

Description [src]

Creates a new PurpleNotification for the authorization_request. This helper will automatically fill out the notification according to the information in authorization_request.

Available since: 3.0

Parameters

authorization_request

Type: PurpleAuthorizationRequest

The PurpleAuthorizationRequest instance.

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

Return value

Type: PurpleNotification

The new notification.

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