[Bug 27780] New: TpAccount doesn't always notify::connection

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 21 21:28:41 CEST 2010


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

           Summary: TpAccount doesn't always notify::connection
           Product: Telepathy
           Version: 0.10
          Platform: Other
        OS/Version: All
            Status: ASSIGNED
          Severity: normal
          Priority: medium
         Component: tp-glib
        AssignedTo: simon.mcvittie at collabora.co.uk
        ReportedBy: simon.mcvittie at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


TpAccount doesn't automatically create a new TpConnection when the
connection_object_path member changes, only when someone actually asks for it.

This has the surprising side-effect that notify::connection isn't emitted when
the object path is first discovered.

This block in _tp_account_update:

>   if (g_hash_table_lookup (properties, "Connection") != NULL)

should emit notify::connection; if someone actually cares about it, they'll
call tp_account_get_connection (directly or via the property getter), resulting
in the creation of a TpConnection.

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