]> git.0d.be Git - empathy.git/commitdiff
empathy: use tp_account_manager_enable_restart()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 17 Jul 2012 14:14:47 +0000 (16:14 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 17 Jul 2012 14:14:47 +0000 (16:14 +0200)
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

index e2ae2632f6501185bfadb60c45eed019fc260e7b..70b45bb34312de1686a157961dd258e9b465f9da 100644 (file)
@@ -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 */