empathy r1856 - trunk/libempathy



Author: xclaesse
Date: Fri Nov 21 16:21:25 2008
New Revision: 1856
URL: http://svn.gnome.org/viewvc/empathy?rev=1856&view=rev

Log:
tp_file_constructor: get the ContentHashType and ContentType values from the properties hash table

Modified:
   trunk/libempathy/empathy-tp-file.c

Modified: trunk/libempathy/empathy-tp-file.c
==============================================================================
--- trunk/libempathy/empathy-tp-file.c	(original)
+++ trunk/libempathy/empathy-tp-file.c	Fri Nov 21 16:21:25 2008
@@ -589,6 +589,12 @@
   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"));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]