[empathy] notifications: no need to set NOTIFY_EXPIRES_DEFAULT



commit 079d54dd90b551a5ca520a244fc93933d13d942d
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Jan 3 13:01:03 2013 +0100

    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, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 63b5c57..b971daf 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 b6abd8c..aa5b00f 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]