Method

PurpleNotificationManagerremove_with_account

since: 3.0

Declaration [src]

void
purple_notification_manager_remove_with_account (
  PurpleNotificationManager* manager,
  PurpleAccount* account,
  gboolean all
)

Description [src]

Removes all notifications with account from manager.

If all is set to TRUE, notifications of type PURPLE_NOTIFICATION_TYPE_CONNECTION_ERROR will be removed as well. These are treated differently from other notifications tied to accounts, as those are transient and depend on the account being connected to be valid.

Available since: 3.0

Parameters

account

Type: PurpleAccount

The PurpleAccount whose notifications to remove.

The data is owned by the caller of the function.
all

Type: gboolean

Whether or not to clear connection error notifications as well.