[empathy] Do not have too complex code in var initialization.
- From: Xavier Claessens <xclaesse src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] Do not have too complex code in var initialization.
- Date: Wed, 29 Jul 2009 09:22:16 +0000 (UTC)
commit 1036277e3c369afe3a1fba9aeaf3552fcd5a20aa
Author: Xavier Claessens <xclaesse gmail com>
Date: Fri Jul 24 13:18:30 2009 +0200
Do not have too complex code in var initialization.
src/empathy-call-window.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 520a928..bd958aa 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1346,8 +1346,10 @@ empathy_call_window_connected (gpointer user_data)
EmpathyCallWindow *self = EMPATHY_CALL_WINDOW (user_data);
EmpathyCallWindowPriv *priv = GET_PRIV (self);
EmpathyTpCall *call;
- gboolean can_send_video = priv->video_input != NULL && priv->contact != NULL
- && empathy_contact_can_voip_video (priv->contact);
+ gboolean can_send_video;
+
+ can_send_video = priv->video_input != NULL && priv->contact != NULL &&
+ empathy_contact_can_voip_video (priv->contact);
g_object_get (priv->handler, "tp-call", &call, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]