[empathy: 24/26] empathy-connectivity: assume status is offline if GetState fails



commit 98bdc25304295c21761ee6d5547273d5f077f61b
Author: Jonny Lamb <jonny lamb collabora co uk>
Date:   Wed Aug 19 16:54:10 2009 +0100

    empathy-connectivity: assume status is offline if GetState fails
    
    Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

 libempathy/empathy-connectivity.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c
index f033e42..bbbcba4 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);
     }
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]