summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-07-24 13:18:30 +0200
committerXavier Claessens <xclaesse@gmail.com>2009-07-29 11:21:42 +0200
commit1036277e3c369afe3a1fba9aeaf3552fcd5a20aa (patch)
treeb1970ce1f35216414f4fb5d0e879ba3f4b1349b0 /src
parent4da463c098708dd0b52a82195bad5ac537a9197b (diff)
Do not have too complex code in var initialization.
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 520a9282..bd958aad 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);