Constructor

PurpleNotificationConnectionErrornew

unstable since: 3.0

[]

Declaration [src]

PurpleNotification*
purple_notification_connection_error_new (
  const char* id,
  PurpleAccount* account
)
[]

Description [src]

Creates a new PurpleNotification for a connection error on account.

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.
account

Type: PurpleAccount

The account.

The data is owned by the caller of the function.
[]

Return value

Type: PurpleNotificationConnectionError

The new notification.

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