From 4c9b885598161f7ab91888c07c1a557249ce3c77 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Thu, 27 Aug 2009 17:52:15 +0100 Subject: [PATCH] ->connected always has the right status, so use that instead of specialcasing --- libempathy/empathy-connectivity.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c index b6542166..c6551ae5 100644 --- a/libempathy/empathy-connectivity.c +++ b/libempathy/empathy-connectivity.c @@ -383,14 +383,7 @@ empathy_connectivity_is_online (EmpathyConnectivity *connectivity) { EmpathyConnectivityPriv *priv = GET_PRIV (connectivity); - if (priv->use_conn) - { - return priv->connected; - } - else - { - return TRUE; - } + return priv->connected; } gboolean -- 2.39.2