[telepathy-mission-control-5.16] telepathy-mission-control: mc-tool: fix setting automatic presence

Simon McVittie smcv at kemper.freedesktop.org
Mon Feb 3 08:38:38 PST 2014


Module: telepathy-mission-control
Branch: telepathy-mission-control-5.16
Commit: a4bcc16f16f72d7a2b8fe74e715183b7b6985427
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=a4bcc16f16f72d7a2b8fe74e715183b7b6985427

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Jan 28 16:28:16 2014 +0000

mc-tool: fix setting automatic presence

We were using the wrong finish-function.

Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=74187

---

 util/mc-tool.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/mc-tool.c b/util/mc-tool.c
index 59a1a91..3c238d8 100644
--- a/util/mc-tool.c
+++ b/util/mc-tool.c
@@ -1051,7 +1051,7 @@ command_auto_presence (TpAccount *account)
                                              command.presence.status,
                                              command.presence.message,
                                              callback_for_async,
-                                             tp_account_request_presence_finish);
+                                             tp_account_set_automatic_presence_finish);
 
     return TRUE;
 }



More information about the telepathy-commits mailing list