summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-04-14 16:21:43 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-04-14 16:21:43 +0100
commiteaea8572f63f8f8bb3f939803f010c0adc4fc62b (patch)
tree955cf5d8df2c1c399dadb26e193bb4df2b3fb728
parent3a56701b4e82366ee99a00288c6d0a4a0444a4ac (diff)
client: fix :account to actually be a TpAccount
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--telepathy-ytstenut-glib/client.c3
1 files changed, 2 insertions, 1 deletions
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));
/**