Constructor

PurpleNotificationnew_from_add_contact_request

since: 3.0

Declaration [src]

PurpleNotification*
purple_notification_new_from_add_contact_request (
  PurpleAddContactRequest* request
)

Description [src]

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

Available since: 3.0

Parameters

request

Type: PurpleAddContactRequest

The PurpleAddContactRequest 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.