aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-connectivity.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-28 00:52:15 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-28 04:11:49 +0800
commit4c9b885598161f7ab91888c07c1a557249ce3c77 (patch)
tree67bc517d23314f2e5fee0bf05156c8cb8dc50a1c /libempathy/empathy-connectivity.c
parent09a260ea67ff01a17877c53e43ff1af6f28a59b6 (diff)
downloadgsoc2013-empathy-4c9b885598161f7ab91888c07c1a557249ce3c77.tar
gsoc2013-empathy-4c9b885598161f7ab91888c07c1a557249ce3c77.tar.gz
gsoc2013-empathy-4c9b885598161f7ab91888c07c1a557249ce3c77.tar.bz2
gsoc2013-empathy-4c9b885598161f7ab91888c07c1a557249ce3c77.tar.lz
gsoc2013-empathy-4c9b885598161f7ab91888c07c1a557249ce3c77.tar.xz
gsoc2013-empathy-4c9b885598161f7ab91888c07c1a557249ce3c77.tar.zst
gsoc2013-empathy-4c9b885598161f7ab91888c07c1a557249ce3c77.zip
->connected always has the right status, so use that instead of specialcasing
Diffstat (limited to 'libempathy/empathy-connectivity.c')
-rw-r--r--libempathy/empathy-connectivity.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c
index b65421664..c6551ae5c 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