aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-tp-file.c')
-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;