From 079d54dd90b551a5ca520a244fc93933d13d942d Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 3 Jan 2013 13:01:03 +0100 Subject: [PATCH] notifications: no need to set NOTIFY_EXPIRES_DEFAULT That's the default value. https://bugzilla.gnome.org/show_bug.cgi?id=691043 --- src/empathy-chat-window.c | 2 -- src/empathy-notifications-approver.c | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 63b5c575..b971daff 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -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); diff --git a/src/empathy-notifications-approver.c b/src/empathy-notifications-approver.c index b6abd8c6..aa5b00fb 100644 --- a/src/empathy-notifications-approver.c +++ b/src/empathy-notifications-approver.c @@ -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, -- 2.39.2