From eaea8572f63f8f8bb3f939803f010c0adc4fc62b Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Thu, 14 Apr 2011 16:21:43 +0100 Subject: client: fix :account to actually be a TpAccount Signed-off-by: Jonny Lamb --- telepathy-ytstenut-glib/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/telepathy-ytstenut-glib/client.c b/telepathy-ytstenut-glib/client.c index b03a6df..7474bc9 100644 --- a/telepathy-ytstenut-glib/client.c +++ b/telepathy-ytstenut-glib/client.c @@ -264,7 +264,8 @@ tp_yts_client_class_init (TpYtsClientClass *klass) * The local Ytstenut account to use for accepting and creating channels. */ g_object_class_install_property (object_class, PROP_ACCOUNT, - g_param_spec_string ("account", "Account", "Local Ytstenut Account", NULL, + g_param_spec_object ("account", "Account", "Local Ytstenut Account", + TP_TYPE_ACCOUNT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); /** -- cgit v1.2.3