From: Jonny Lamb Date: Wed, 19 Aug 2009 14:01:16 +0000 (+0100) Subject: empathy-connectivity: init priv->connected to TRUE if we're not using NM X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=1f9772288086230ec9b8ac63380ad90d413b73c0 empathy-connectivity: init priv->connected to TRUE if we're not using NM Signed-off-by: Jonny Lamb --- diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c index 4e75d7d7..e9734e5d 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 {