[telepathy-gabble/master] translate_relay_info: use tp_g_value_slice_new_* instead of the gabble version of those functions

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Jun 29 07:07:37 PDT 2009


---
 src/jingle-factory.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/jingle-factory.c b/src/jingle-factory.c
index 4e604f0..5c44109 100644
--- a/src/jingle-factory.c
+++ b/src/jingle-factory.c
@@ -1035,17 +1035,17 @@ translate_relay_info (GPtrArray *relays,
   asv = g_hash_table_new_full (g_str_hash, g_str_equal,
       NULL, (GDestroyNotify) tp_g_value_slice_free);
   g_hash_table_insert (asv, "ip",
-      gabble_g_value_slice_new_string (relay_ip));
+      tp_g_value_slice_new_string (relay_ip));
   g_hash_table_insert (asv, "type",
-      gabble_g_value_slice_new_static_string (static_type));
+      tp_g_value_slice_new_static_string (static_type));
   g_hash_table_insert (asv, "port",
-      gabble_g_value_slice_new_uint (port));
+      tp_g_value_slice_new_uint (port));
   g_hash_table_insert (asv, "username",
-      gabble_g_value_slice_new_string (username));
+      tp_g_value_slice_new_string (username));
   g_hash_table_insert (asv, "password",
-      gabble_g_value_slice_new_string (password));
+      tp_g_value_slice_new_string (password));
   g_hash_table_insert (asv, "component",
-      gabble_g_value_slice_new_uint (component));
+      tp_g_value_slice_new_uint (component));
 
   g_ptr_array_add (relays, asv);
 }
-- 
1.5.6.5




More information about the telepathy-commits mailing list