[Telepathy-commits] [telepathy-glib/master] Assume tp_contacts_mixin_set_contact_attribute always takes a slice allocated GValue

Sjoerd Simons sjoerd at luon.net
Tue Aug 19 04:25:19 PDT 2008


20080728150645-93b9a-b8c56d1e95ea9317c88dc739014ebad7219cdc71.gz
---
 telepathy-glib/contacts-mixin.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/telepathy-glib/contacts-mixin.c b/telepathy-glib/contacts-mixin.c
index 37f28fc..b97e50d 100644
--- a/telepathy-glib/contacts-mixin.c
+++ b/telepathy-glib/contacts-mixin.c
@@ -351,8 +351,6 @@ tp_contacts_mixin_set_contact_attribute (GHashTable *contact_attributes,
 
   g_assert (attributes != NULL);
 
-  g_hash_table_insert (attributes, g_strdup (attribute),
-    tp_g_value_slice_dup (value));
-
+  g_hash_table_insert (attributes, g_strdup (attribute), value);
 }
 
-- 
1.5.6.3




More information about the Telepathy-commits mailing list