aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:21:32 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:21:32 +0800
commitb6153431b2e07421b9ecc8d9b2ddddc7db15a926 (patch)
tree67be29189a88585adaf82d06357cc547ed79876b /libempathy
parent0045df6b695213ccf7d67e4abbbd89b3a9da8c7c (diff)
downloadgsoc2013-empathy-b6153431b2e07421b9ecc8d9b2ddddc7db15a926.tar
gsoc2013-empathy-b6153431b2e07421b9ecc8d9b2ddddc7db15a926.tar.gz
gsoc2013-empathy-b6153431b2e07421b9ecc8d9b2ddddc7db15a926.tar.bz2
gsoc2013-empathy-b6153431b2e07421b9ecc8d9b2ddddc7db15a926.tar.lz
gsoc2013-empathy-b6153431b2e07421b9ecc8d9b2ddddc7db15a926.tar.xz
gsoc2013-empathy-b6153431b2e07421b9ecc8d9b2ddddc7db15a926.tar.zst
gsoc2013-empathy-b6153431b2e07421b9ecc8d9b2ddddc7db15a926.zip
empathy-tp-file.c: actually implement the getter of GObject properties
svn path=/trunk/; revision=1858
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-file.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index 9cfdb3371..e0516c32b 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -625,6 +625,30 @@ tp_file_get_property (GObject *object,
case PROP_CHANNEL:
g_value_set_object (value, tp_file->priv->channel);
break;
+ case PROP_INCOMING:
+ g_value_set_boolean (value, tp_file->priv->incoming);
+ break;
+ case PROP_STATE:
+ g_value_set_uint (value, tp_file->priv->state);
+ break;
+ case PROP_CONTENT_TYPE:
+ g_value_set_string (value, tp_file->priv->content_type);
+ break;
+ case PROP_FILENAME:
+ g_value_set_string (value, tp_file->priv->filename);
+ break;
+ case PROP_SIZE:
+ g_value_set_uint64 (value, tp_file->priv->size);
+ break;
+ case PROP_CONTENT_HASH_TYPE:
+ g_value_set_uint (value, tp_file->priv->content_hash_type);
+ break;
+ case PROP_CONTENT_HASH:
+ g_value_set_string (value, tp_file->priv->content_hash);
+ break;
+ case PROP_TRANSFERRED_BYTES:
+ g_value_set_uint64 (value, tp_file->priv->transferred_bytes);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
break;