[empathy] empathy: use tp_account_manager_enable_restart()



commit 4c7c9410f125620408089ee95a20bd750b055e48
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Jul 17 16:14:47 2012 +0200

    empathy: use tp_account_manager_enable_restart()
    
    If for some reason MC crashes we should restart it right away. Ideally this
    should be done by the Shell (#680099) but it's good to have in Empathy as
    well.

 src/empathy.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy.c b/src/empathy.c
index e2ae263..70b45bb 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -765,6 +765,8 @@ empathy_app_constructed (GObject *object)
   tp_proxy_prepare_async (self->account_manager, NULL,
       account_manager_ready_cb, self);
 
+  tp_account_manager_enable_restart (self->account_manager);
+
   migrate_config_to_xdg_dir ();
 
   /* Logging */



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