[Bug 38061] Add tp_message_set_message() method

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 9 04:15:00 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=38061

--- Comment #3 from Danielle Madeley <danielle.madeley at collabora.co.uk> 2011-06-08 19:15:00 PDT ---
(In reply to comment #2)

> I *believe* that this will not copy the message parts, just ref 'em. In other
> words, if you modify @message after calling tp_cm_message_set_message(), it
> will also modify the copy in @self.

You're right, in recent GLib g_boxed_copy() will frequently take refs instead
of copying. I think we want to take a copy, so you can throw away the message
at your leisure (or change it, as you say).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list