aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-connectivity.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-connectivity.c')
-rw-r--r--libempathy/empathy-connectivity.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c
index 4e75d7d76..e9734e5db 100644
--- a/libempathy/empathy-connectivity.c
+++ b/libempathy/empathy-connectivity.c
@@ -111,6 +111,8 @@ empathy_connectivity_init (EmpathyConnectivity *connectivity)
{
DEBUG ("Failed to get NetworkManager proxy");
}
+#else
+ priv->connected = TRUE;
#endif
}
@@ -257,11 +259,7 @@ empathy_connectivity_is_online (EmpathyConnectivity *connectivity)
if (priv->use_conn)
{
-#ifdef HAVE_NM
return priv->connected;
-#else
- return TRUE;
-#endif
}
else
{