[empathy] ->connected always has the right status, so use that instead of specialcasing
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] ->connected always has the right status, so use that instead of specialcasing
- Date: Thu, 27 Aug 2009 20:12:25 +0000 (UTC)
commit 4c9b885598161f7ab91888c07c1a557249ce3c77
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Thu Aug 27 17:52:15 2009 +0100
->connected always has the right status, so use that instead of specialcasing
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 b654216..c6551ae 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]