aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-04-24 23:04:25 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-04-24 23:04:25 +0800
commitb7498633ac98de869c86dd113027b059e1cdc691 (patch)
treeecf19f08af10a956bea55531a24e58a30fdea225 /libempathy
parent6194ec132dd41e33856767a2d4c3744438916e8e (diff)
downloadgsoc2013-empathy-b7498633ac98de869c86dd113027b059e1cdc691.tar
gsoc2013-empathy-b7498633ac98de869c86dd113027b059e1cdc691.tar.gz
gsoc2013-empathy-b7498633ac98de869c86dd113027b059e1cdc691.tar.bz2
gsoc2013-empathy-b7498633ac98de869c86dd113027b059e1cdc691.tar.lz
gsoc2013-empathy-b7498633ac98de869c86dd113027b059e1cdc691.tar.xz
gsoc2013-empathy-b7498633ac98de869c86dd113027b059e1cdc691.tar.zst
gsoc2013-empathy-b7498633ac98de869c86dd113027b059e1cdc691.zip
tp-file: implement getter/setter for the ready property
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 913c27bbf..41f319b31 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -686,6 +686,9 @@ tp_file_get_property (GObject *object,
case PROP_TRANSFERRED_BYTES:
g_value_set_uint64 (value, tp_file->priv->transferred_bytes);
break;
+ case PROP_READY:
+ g_value_set_boolean (value, tp_file->priv->ready);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
break;
@@ -744,6 +747,9 @@ tp_file_set_property (GObject *object,
g_free (tp_file->priv->content_hash);
tp_file->priv->content_hash = g_value_dup_string (value);
break;
+ case PROP_READY:
+ tp_file->priv->ready = g_value_get_boolean (value);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
break;