aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-07-24 19:18:30 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-07-29 17:21:42 +0800
commit1036277e3c369afe3a1fba9aeaf3552fcd5a20aa (patch)
treeb1970ce1f35216414f4fb5d0e879ba3f4b1349b0 /src/empathy-call-window.c
parent4da463c098708dd0b52a82195bad5ac537a9197b (diff)
downloadgsoc2013-empathy-1036277e3c369afe3a1fba9aeaf3552fcd5a20aa.tar
gsoc2013-empathy-1036277e3c369afe3a1fba9aeaf3552fcd5a20aa.tar.gz
gsoc2013-empathy-1036277e3c369afe3a1fba9aeaf3552fcd5a20aa.tar.bz2
gsoc2013-empathy-1036277e3c369afe3a1fba9aeaf3552fcd5a20aa.tar.lz
gsoc2013-empathy-1036277e3c369afe3a1fba9aeaf3552fcd5a20aa.tar.xz
gsoc2013-empathy-1036277e3c369afe3a1fba9aeaf3552fcd5a20aa.tar.zst
gsoc2013-empathy-1036277e3c369afe3a1fba9aeaf3552fcd5a20aa.zip
Do not have too complex code in var initialization.
Diffstat (limited to 'src/empathy-call-window.c')
-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 520a92821..bd958aada 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);