diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-01-04 16:26:04 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-01-04 16:26:04 +0000 |
commit | 58aefe4ef8d5d1194725f340e353de853b21bef6 (patch) | |
tree | 50f6ecba34d68a7cbd0a6ca3f0a729ef7d35b91a /src/avahi-olpc-activity-manager.c | |
parent | c9779d896a77f96f8aa582113984ba722ff65eb0 (diff) | |
download | telepathy-salut-58aefe4ef8d5d1194725f340e353de853b21bef6.tar.gz |
Don't use sealed struct members
This exposes a bug in the tests: several tests assumed that tubes'
Interfaces would always come out in the same order, but the new APIs
we're using break that assumption. Fix that too.
Diffstat (limited to 'src/avahi-olpc-activity-manager.c')
-rw-r--r-- | src/avahi-olpc-activity-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/avahi-olpc-activity-manager.c b/src/avahi-olpc-activity-manager.c index 304a73d2..f7ae90fd 100644 --- a/src/avahi-olpc-activity-manager.c +++ b/src/avahi-olpc-activity-manager.c @@ -155,7 +155,7 @@ browser_found (GaServiceBrowser *browser, if (flags & AVAHI_LOOKUP_RESULT_OUR_OWN) return; - if (base_conn->status == TP_CONNECTION_STATUS_DISCONNECTED) + if (tp_base_connection_is_destroyed (base_conn)) return; if (!split_activity_name (name, &room_name, &contact_name)) |