diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-28 00:52:15 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-28 04:11:49 +0800 |
commit | 4c9b885598161f7ab91888c07c1a557249ce3c77 (patch) | |
tree | 67bc517d23314f2e5fee0bf05156c8cb8dc50a1c /libempathy | |
parent | 09a260ea67ff01a17877c53e43ff1af6f28a59b6 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | libempathy/empathy-connectivity.c | 9 |
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 |