[Bug 25019] tp_presence_mixin_emit_presence_update() segfaults if TP_TYPE_SVC_CONNECTION_INTERFACE_PRESENCE is not implemented

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 10 18:03:38 CET 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25019





--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2009-11-10 09:03:32 PST ---
My position on the deprecation is that CMs should still implement complex
Presence (since the presence mixin makes it just as easy to do so), but clients
are allowed to assume that only SimplePresence matters (telepathy-qt4 and
telepathy-glib high-level APIs ignore complex Presence entirely).

It's certainly a bug that the presence mixin crashes "late", though; it should
either crash out with an assertion failure immediately (in class_init), or cope
gracefully. I'll add a check similar to the one you propose in a future version
of telepathy-glib.

However, I suggest you work around this by adding the necessary 1 line of code
to implement old-style Presence too!


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



More information about the telepathy-bugs mailing list