[empathy] Only assume connected when we have neither Connman or NM



commit 09a260ea67ff01a17877c53e43ff1af6f28a59b6
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Thu Aug 27 17:01:57 2009 +0100

    Only assume connected when we have neither Connman or NM

 libempathy/empathy-connectivity.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c
index 77c715a..b654216 100644
--- a/libempathy/empathy-connectivity.c
+++ b/libempathy/empathy-connectivity.c
@@ -230,7 +230,7 @@ empathy_connectivity_init (EmpathyConnectivity *connectivity)
     }
 #endif
 
-#if !defined(HAVE_NM) || !defined(HAVE_CONNMAN)
+#if !defined(HAVE_NM) && !defined(HAVE_CONNMAN)
   priv->connected = TRUE;
 #endif
 }



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