[Telepathy-commits] [telepathy-gabble/master] Send the string not the gvalue!

Pierre-Luc Beaudoin pierre-luc.beaudoin at collabora.co.uk
Sun Feb 1 05:24:01 PST 2009


---
 src/conn-location.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/conn-location.c b/src/conn-location.c
index 9470f1e..6243769 100644
--- a/src/conn-location.c
+++ b/src/conn-location.c
@@ -176,7 +176,7 @@ create_msg_foreach (gpointer key,
     }
   else if (G_VALUE_TYPE (value) == G_TYPE_STRING)
     {
-      lm_message_node_add_child (geoloc, key, value);
+      lm_message_node_add_child (geoloc, key, g_value_get_string(value));
       DEBUG ("\t - %s: %s", (gchar*) key, g_value_get_string (value));
     }
   else
-- 
1.5.6.5




More information about the Telepathy-commits mailing list