Method

ValentNotificationsAdapternotification_added

unstable since: 1.0

Declaration [src]

void
valent_notifications_adapter_notification_added (
  ValentNotificationsAdapter* adapter,
  ValentNotification* notification
)

Description [src]

Called when notification has been added to adapter.

This method should only be called by implementations of ValentNotificationsAdapter. adapter will hold a reference on notification and emit GListModel::items-changed.

Available since: 1.0

Parameters

notification

Type: ValentNotification

A ValentNotification.

The data is owned by the caller of the method.