aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-connectivity.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-08-19 23:54:10 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-08-20 00:25:14 +0800
commit98bdc25304295c21761ee6d5547273d5f077f61b (patch)
treee45fe89201e635189d58646484515fb40bef810f /libempathy/empathy-connectivity.c
parent4be054d9317f3f35c5fc799556f85f880e1761bf (diff)
downloadgsoc2013-empathy-98bdc25304295c21761ee6d5547273d5f077f61b.tar
gsoc2013-empathy-98bdc25304295c21761ee6d5547273d5f077f61b.tar.gz
gsoc2013-empathy-98bdc25304295c21761ee6d5547273d5f077f61b.tar.bz2
gsoc2013-empathy-98bdc25304295c21761ee6d5547273d5f077f61b.tar.lz
gsoc2013-empathy-98bdc25304295c21761ee6d5547273d5f077f61b.tar.xz
gsoc2013-empathy-98bdc25304295c21761ee6d5547273d5f077f61b.tar.zst
gsoc2013-empathy-98bdc25304295c21761ee6d5547273d5f077f61b.zip
empathy-connectivity: assume status is offline if GetState fails
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'libempathy/empathy-connectivity.c')
-rw-r--r--libempathy/empathy-connectivity.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c
index f033e42e8..bbbcba467 100644
--- a/libempathy/empathy-connectivity.c
+++ b/libempathy/empathy-connectivity.c
@@ -151,6 +151,8 @@ connectivity_connman_check_state_cb (DBusGProxy *proxy,
else
{
DEBUG ("Failed to call GetState: %s", error->message);
+ connectivity_connman_state_changed_cb (proxy, "offline",
+ connectivity);
}
}