[next] telepathy-glib: TpProtocol:avatar-requirements: turn to a boxed property

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Thu May 15 05:34:41 PDT 2014


Module: telepathy-glib
Branch: next
Commit: 2b6a460cdd033645386eef8c8595df1c5915359b
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=2b6a460cdd033645386eef8c8595df1c5915359b

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Wed May 14 15:59:36 2014 +0200

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));
 
   /**



More information about the telepathy-commits mailing list