[Telepathy-commits] [telepathy-salut/master] Fixed state property's write-access.

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Nov 21 03:46:27 PST 2008


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 src/salut-file-channel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/salut-file-channel.c b/src/salut-file-channel.c
index cc4eaae..e9bf778 100644
--- a/src/salut-file-channel.c
+++ b/src/salut-file-channel.c
@@ -356,7 +356,7 @@ salut_file_channel_class_init (SalutFileChannelClass *salut_file_channel_class)
   };
 
   static TpDBusPropertiesMixinPropImpl file_props[] = {
-    { "State", "state", "state" },
+    { "State", "state", NULL },
     { "ContentType", "content-type", "content-type" },
     { "Filename", "filename", "filename" },
     { "Size", "size", "size" },
@@ -461,7 +461,7 @@ salut_file_channel_class_init (SalutFileChannelClass *salut_file_channel_class)
       0,
       G_MAXUINT,
       0,
-      G_PARAM_CONSTRUCT |
+      G_PARAM_CONSTRUCT_ONLY |
       G_PARAM_READWRITE |
       G_PARAM_STATIC_NICK |
       G_PARAM_STATIC_BLURB);
-- 
1.5.6.5




More information about the Telepathy-commits mailing list