From 3695aee3cd0cac3cb0014e563208be00f4793d68 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 21 Nov 2008 16:21:25 +0000 Subject: [PATCH] tp_file_constructor: get the ContentHashType and ContentType values from the properties hash table svn path=/trunk/; revision=1856 --- libempathy/empathy-tp-file.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index 377fa5bd..e424bdfb 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")); -- 2.39.2