aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:21:25 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:21:25 +0800
commit3695aee3cd0cac3cb0014e563208be00f4793d68 (patch)
tree96b01f8d4a8ce04605eb2aeffd04a91185202e87 /libempathy
parent7e17a5298381cd34c4decf370bbbb76f96169156 (diff)
downloadgsoc2013-empathy-3695aee3cd0cac3cb0014e563208be00f4793d68.tar
gsoc2013-empathy-3695aee3cd0cac3cb0014e563208be00f4793d68.tar.gz
gsoc2013-empathy-3695aee3cd0cac3cb0014e563208be00f4793d68.tar.bz2
gsoc2013-empathy-3695aee3cd0cac3cb0014e563208be00f4793d68.tar.lz
gsoc2013-empathy-3695aee3cd0cac3cb0014e563208be00f4793d68.tar.xz
gsoc2013-empathy-3695aee3cd0cac3cb0014e563208be00f4793d68.tar.zst
gsoc2013-empathy-3695aee3cd0cac3cb0014e563208be00f4793d68.zip
tp_file_constructor: get the ContentHashType and ContentType values from the properties hash table
svn path=/trunk/; revision=1856
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-file.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index 377fa5bd3..e424bdfb7 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -589,6 +589,12 @@ tp_file_constructor (GType type,
tp_file->priv->content_hash = g_value_dup_string (
g_hash_table_lookup (properties, "ContentHash"));
+ tp_file->priv->content_hash_type = g_value_get_uint (
+ g_hash_table_lookup (properties, "ContentHashType"));
+
+ tp_file->priv->content_type = g_value_dup_string (
+ g_hash_table_lookup (properties, "ContentType"));
+
tp_file->priv->description = g_value_dup_string (
g_hash_table_lookup (properties, "Description"));