[telepathy-mission-control-5.16] telepathy-mission-control: mcd-connection : use tp_asv_new() properly

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Mon Aug 25 05:14:16 PDT 2014


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

Author: Steffen Kieß <Steffen.Kiess at ipvs.uni-stuttgart.de>
Date:   Mon Aug 25 14:11:35 2014 +0200

mcd-connection: use tp_asv_new() properly

The second argument has to be the type of the value.

https://bugs.freedesktop.org/show_bug.cgi?id=81751

---

 src/mcd-connection.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mcd-connection.c b/src/mcd-connection.c
index e04ff78..e225da2 100644
--- a/src/mcd-connection.c
+++ b/src/mcd-connection.c
@@ -2267,7 +2267,7 @@ _mcd_connection_set_tp_connection (McdConnection *connection,
     if (!priv->tp_conn)
     {
         GHashTable *details = tp_asv_new (
-            "debug-message", inner_error->message,
+            "debug-message", G_TYPE_STRING, inner_error->message,
             NULL);
 
         /* Constructing a TpConnection can only fail from invalid arguments,



More information about the telepathy-commits mailing list