[Telepathy] [Bug 17115] telepathy-glib uses pointers to pointers unnecessarily
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 13 08:09:21 PDT 2008
http://bugs.freedesktop.org/show_bug.cgi?id=17115
--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2008-08-13 08:09:21 PST ---
At the time that TpConnectionManagerListCb was written, the size of a
TpConnectionManager was not yet fixed, so we couldn't use a packed array of
them. The (TpConnectionManager **) is effectively the contents of a GPtrArray
of (TpConnectionManager *), with some attempt at type-safety.
As far as I know, you also can't arrange for g_object_new() to allocate
GObjects in an array. So, WONTFIX/CANTFIX.
The gtkdoc for TpConnectionManagerProtocol specifically says that its size is
not yet fixed, so again, we can't have an array of TpConnectionManagerProtocol
without breaking ABI if/when this size changes. WONTFIX/CANTFIX again.
I'll leave this bug open for the moment as a reminder that a cleaner API +
deprecating the old API might be good to have.
--
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
mailing list