diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-01-03 20:01:03 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-01-03 20:08:05 +0800 |
commit | 079d54dd90b551a5ca520a244fc93933d13d942d (patch) | |
tree | b04a14629325316d2af4894a577a5dde1b82dd38 | |
parent | 8d0eb500144999ede2897bb0dd3248b0aa3399ec (diff) | |
download | gsoc2013-empathy-079d54dd90b551a5ca520a244fc93933d13d942d.tar gsoc2013-empathy-079d54dd90b551a5ca520a244fc93933d13d942d.tar.gz gsoc2013-empathy-079d54dd90b551a5ca520a244fc93933d13d942d.tar.bz2 gsoc2013-empathy-079d54dd90b551a5ca520a244fc93933d13d942d.tar.lz gsoc2013-empathy-079d54dd90b551a5ca520a244fc93933d13d942d.tar.xz gsoc2013-empathy-079d54dd90b551a5ca520a244fc93933d13d942d.tar.zst gsoc2013-empathy-079d54dd90b551a5ca520a244fc93933d13d942d.zip |
notifications: no need to set NOTIFY_EXPIRES_DEFAULT
That's the default value.
https://bugzilla.gnome.org/show_bug.cgi?id=691043
-rw-r--r-- | src/empathy-chat-window.c | 2 | ||||
-rw-r--r-- | 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 63b5c5754..b971daff4 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 b6abd8c6b..aa5b00fba 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, |