Commit 079d54dd authored by Guillaume Desmottes's avatar Guillaume Desmottes

notifications: no need to set NOTIFY_EXPIRES_DEFAULT

That's the default value.

https://bugzilla.gnome.org/show_bug.cgi?id=691043
parent 8d0eb500
......@@ -1579,8 +1579,6 @@ chat_window_show_or_update_notification (EmpathyChatWindow *self,
if (self->priv->notification == NULL)
self->priv->notification = notification;
notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
tp_g_signal_connect_object (notification, "closed",
G_CALLBACK (chat_window_notification_closed_cb), self, 0);
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment