summaryrefslogtreecommitdiff
path: root/src/avahi-olpc-activity-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/avahi-olpc-activity-manager.c')
-rw-r--r--src/avahi-olpc-activity-manager.c2
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))