diff options
Diffstat (limited to 'src/empathy-notifications-approver.c')
-rw-r--r-- | src/empathy-notifications-approver.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/empathy-notifications-approver.c b/src/empathy-notifications-approver.c index b6abd8c6b..2f42c7613 100644 --- a/src/empathy-notifications-approver.c +++ b/src/empathy-notifications-approver.c @@ -339,8 +339,8 @@ update_notification (EmpathyNotificationsApprover *self) * to an existing notification with the same title. * In this way the previous message will not be lost: the new * message will appear below it, in the same notification */ - notification = notify_notification_new (self->priv->event->header, - message_esc, NULL); + notification = empathy_notify_manager_create_notification ( + self->priv->event->header, message_esc, NULL); if (self->priv->notification == NULL) { @@ -350,9 +350,6 @@ update_notification (EmpathyNotificationsApprover *self) G_CALLBACK (notification_closed_cb), self); } - notify_notification_set_timeout (notification, - NOTIFY_EXPIRES_DEFAULT); - if (has_x_canonical_append) { notify_notification_set_hint (notification, |