[Telepathy] Accessing the ContactList for a connection.

Michael R. Head burner at suppressingfire.org
Fri Feb 15 10:06:04 PST 2008


I put a number of questions into my email. The ones at the bottom might
have been missed, so I'm stripping all the extra fluff around them and
clarifying.

On Fri, 2008-02-15 at 01:16 -0500, Michael R. Head wrote:

> I'm curious about
> org.freedesktop.Telepathy.Connection.Interface.ContactInfo and why it's
> deprecated, but apparently not replaced?
> http://telepathy.freedesktop.org/spec.html#org.freedesktop.Telepathy.Connection.Interface.ContactInfo
>         THIS INTERFACE IS DEPRECATED AND SHOULD NOT BE USED. A new
>         version will be proposed in the 0.13 specification branch.
> 
> But the spec is version 0.17.1, right?

Is there a replacement for ContactInfo that I'm missing somewhere?

> I'm also curious about how to manage memory. Most things use
> g_object_ref and _unref, but some things don't need them. For example,
> interfaces should be unref()fed, but connections and channels don't? 

I've mostly been looking through the empathy source and libtelepathy
headers (and performing trial and error by calling g_object_unref()
unless I get a warning at runtime) to figure out what I can. Am I
missing some good informative resource on how to answer these questions
myself?

> Also, how is the OUT_arg1 of tp_conn_iface_aliasing_request_aliases
> meant to be collected?

OUT_arg1 is is an array of strings. Are they meant to be freed by the
caller, or are they managed elsewhere? (or, a better question, how can I
figure out what needs to be g_free()ed, what needs to be
g_object_unref()ed and what needs to be left alone?)

> 
> mike
-- 
Michael R. Head <burner at suppressingfire.org>
http://www.core.binghamton.edu/~burner/new/resume.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3259 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20080215/968e5854/attachment.bin 


More information about the Telepathy mailing list