diff options
author | Sjoerd Simons <sjoerd@luon.net> | 2008-07-28 15:06:45 +0000 |
---|---|---|
committer | Sjoerd Simons <sjoerd@luon.net> | 2008-07-28 15:06:45 +0000 |
commit | 015cb72173c6ec8f53e79c8721816cfba39da54d (patch) | |
tree | b222fa084f485b5c6e6789e07a1c43d9d68ee957 | |
parent | 07b96f312cef5bfabd61eaff24bb40e65442495a (diff) | |
download | telepathy-glib-015cb72173c6ec8f53e79c8721816cfba39da54d.tar.gz |
Assume tp_contacts_mixin_set_contact_attribute always takes a slice allocated GValue
20080728150645-93b9a-b8c56d1e95ea9317c88dc739014ebad7219cdc71.gz
-rw-r--r-- | 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 37f28fcb9..b97e50dd7 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); } |