[empathy] Always notify presence manager on exit
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Always notify presence manager on exit
- Date: Fri, 22 Jul 2016 01:25:36 +0000 (UTC)
commit 9235fecad3bce392f1b2b3c53a070937689995b2
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Thu Jul 21 20:13:45 2016 -0500
Always notify presence manager on exit
Even when running in GNOME Shell. It's been years since this made sense.
src/empathy.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/empathy.c b/src/empathy.c
index bde8a01..e36c459 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -116,14 +116,8 @@ empathy_app_dispose (GObject *object)
void (*dispose) (GObject *) =
G_OBJECT_CLASS (empathy_app_parent_class)->dispose;
- /* Only set our presence to offline when exiting if GNOME Shell is not
- * running */
- if (self->presence_mgr != NULL &&
- !self->shell_running)
- {
- empathy_presence_manager_set_state (self->presence_mgr,
- TP_CONNECTION_PRESENCE_TYPE_OFFLINE);
- }
+ empathy_presence_manager_set_state (self->presence_mgr,
+ TP_CONNECTION_PRESENCE_TYPE_OFFLINE);
#ifdef ENABLE_DEBUG
tp_clear_object (&self->debug_sender);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]