[Bug 63402] Avatar image caching is not asynchronous

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 17 04:38:49 PDT 2013


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

--- Comment #12 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
(In reply to comment #10)
> > +  avatar_data->data = g_array_new (FALSE, FALSE, sizeof (gchar));
> > +  g_array_append_vals (avatar_data->data, avatar->data, avatar->len);
> 
> The reason you have to copy this (which, you're quite right, you do) is that
> g_file_replace_contents_async() doesn't copy it.
> 
> I think that's a GIO bug, which we should open - how is Python/JS code
> expected to ensure that the content "stays alive" like this? - but this is
> an appropriate way to work around it.

https://bugzilla.gnome.org/show_bug.cgi?id=690525

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the telepathy-bugs mailing list