Constructor
PurpleNotificationnew_from_connection_error
since: 3.0
Declaration [src]
PurpleNotification*
purple_notification_new_from_connection_error (
PurpleAccount* account,
PurpleConnectionErrorInfo* info
)
Description [src]
Creates a new PurpleNotification
for account
with the info
for
the connection. This helper will automatically fill out the notification
according to the given parameters.
Available since: 3.0
Parameters
account
-
Type:
PurpleAccount
The
PurpleAccount
that had the connection error.The data is owned by the caller of the function. info
-
Type:
PurpleConnectionErrorInfo
The
PurpleConnectionErrorInfo
for the error.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. |