aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-04-24 23:15:50 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-04-24 23:15:50 +0800
commitd696d6cc31f672884382d5b8949be504cdc718a5 (patch)
tree1c43d6827cce13061436bef818bfc52d649676eb
parentb7498633ac98de869c86dd113027b059e1cdc691 (diff)
downloadgsoc2013-empathy-d696d6cc31f672884382d5b8949be504cdc718a5.tar
gsoc2013-empathy-d696d6cc31f672884382d5b8949be504cdc718a5.tar.gz
gsoc2013-empathy-d696d6cc31f672884382d5b8949be504cdc718a5.tar.bz2
gsoc2013-empathy-d696d6cc31f672884382d5b8949be504cdc718a5.tar.lz
gsoc2013-empathy-d696d6cc31f672884382d5b8949be504cdc718a5.tar.xz
gsoc2013-empathy-d696d6cc31f672884382d5b8949be504cdc718a5.tar.zst
gsoc2013-empathy-d696d6cc31f672884382d5b8949be504cdc718a5.zip
tp-file: ready property has to be read only
-rw-r--r--libempathy/empathy-tp-file.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index 41f319b31..6796f5a0b 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -747,9 +747,6 @@ 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;
@@ -1091,8 +1088,7 @@ empathy_tp_file_class_init (EmpathyTpFileClass *klass)
"ready",
"Whether the object is ready",
FALSE,
- G_PARAM_READWRITE |
- G_PARAM_CONSTRUCT));
+ G_PARAM_READABLE));
g_object_class_install_property (object_class,
PROP_FILENAME,