Constructor
PurpleNotificationAddContactnew
unstable since: 3.0
Declaration [src]
PurpleNotification*
purple_notification_add_contact_new (
const char* id,
PurpleAddContactRequest* request
)
Description [src]
Creates a new PurpleNotification
for request
.
Since request
has a PurpleContact
which has a PurpleAccount
,
PurpleNotification:account
will automatically be set to that.
Available since: 3.0
Parameters
id
-
Type:
const char*
An identifier for this notification.
The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. request
-
Type:
PurpleAddContactRequest
The add contact request.
The data is owned by the caller of the function.
Return value
Type: PurpleNotification
The new notification.
The caller of the function takes ownership of the data, and is responsible for freeing it. |