[Bug 46835] [next] disentangle circular dependencies and move tp_cli_* into -dbus library

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 27 18:06:31 CEST 2012


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

--- Comment #23 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-04-27 09:06:31 PDT ---
Created attachment 60694
  --> https://bugs.freedesktop.org/attachment.cgi?id=60694
[3/6] codegen: inline type-checks into the generated header  file

We don't want tp_cli_channel_foo() (in the -dbus library) to depend on
TP_IS_CHANNEL, which expands to something involving tp_channel_get_type()
(in the -main library). So, do the type-check in an inline wrapper around
the real function. 

As a double-check, we should make sure that the proxy is at least a
proxy. Every generated function calls tp_proxy_borrow_interface_by_id()
early on, so we can use that to host the type-check.

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



More information about the telepathy-bugs mailing list