From d696d6cc31f672884382d5b8949be504cdc718a5 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 24 Apr 2009 16:15:50 +0100 Subject: [PATCH 1/1] tp-file: ready property has to be read only --- libempathy/empathy-tp-file.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index 41f319b3..6796f5a0 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, -- 2.39.2