[Bug 75204] [next] remove TpAsv from public API

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 27 04:20:54 PST 2014


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

--- Comment #22 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
examples: use tp_base_client_*_vardict API
+++ b/examples/client/text-handler.c
+ g_variant_dict_insert (&dict, TP_PROP_CHANNEL_TARGET_ENTITY_TYPE, "u",
+ TP_ENTITY_TYPE_CONTACT);

Maybe this should be (guint32) TP_ENTITY_TYPE_CONTACT for obvious correctness.

(However, ISO C says the default promotions promote smaller-than-int integers
to int in function calls, so as long as sizeof(enum) <= sizeof(int) and
sizeof(int32) <= sizeof(int), everything is fine.)

-- 
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