[Telepathy] "contact #2 in the GetContactAttributes result has no contact-id"

Murray Cumming murrayc at murrayc.com
Mon Jan 5 00:24:24 PST 2009


On Tue, 2008-12-23 at 16:06 +0000, Will Thompson wrote:
> (Incidentally, list_contacts/main.c contains the following:
> 
>   tp_cli_connection_call_disconnect (connection, -1, NULL, NULL,
>     NULL, NULL); /* Also destroys the connection object. */
>   connection = NULL;
> 
> Calling _disconnect on the TpConnection proxy object doesn't destroy it.
> Connection objects on the bus (are supposed to) go away shortly after
> they move to state Disconnected, but clients still need to free up their
> proxy objects.)**

Then this text in the documentation is misleading:
http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#tp-cli-connection-call-disconnect
"Request that the connection be closed. This closes the connection if
it's not already in DISCONNECTED state, and destroys the connection
object."

Does that mean that just the server side connection object is destroyed
(effectively invalidating the local TpConnection proxy for it, which
should then be destroyed manually)?

Maybe this is just another case of the generated telepathy-glib
documentation being worse than useless.

-- 
murrayc at murrayc.com
www.murrayc.com
www.openismus.com



More information about the Telepathy mailing list