From 58127c8af903ea31c7cd82fb47045ac7223f3fe6 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 14 May 2014 15:59:36 +0200 Subject: [PATCH] TpProtocol:avatar-requirements: turn to a boxed property Fix https://bugs.freedesktop.org/show_bug.cgi?id=77143 --- telepathy-glib/protocol.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/telepathy-glib/protocol.c b/telepathy-glib/protocol.c index 9d4fe1c..41a2a62 100644 --- a/telepathy-glib/protocol.c +++ b/telepathy-glib/protocol.c @@ -287,7 +287,7 @@ tp_protocol_get_property (GObject *object, break; case PROP_AVATAR_REQUIREMENTS: - g_value_set_pointer (value, tp_protocol_get_avatar_requirements (self)); + g_value_set_boxed (value, tp_protocol_get_avatar_requirements (self)); break; case PROP_CM_NAME: @@ -823,9 +823,10 @@ tp_protocol_class_init (TpProtocolClass *klass) * Since: 0.15.6 */ g_object_class_install_property (object_class, PROP_AVATAR_REQUIREMENTS, - g_param_spec_pointer ("avatar-requirements", + g_param_spec_boxed ("avatar-requirements", "Avatars requirements", "Avatars requirements", + TP_TYPE_AVATAR_REQUIREMENTS, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); /** -- 1.9.0