From: Nicolas Dufresne Date: Wed, 6 Jul 2011 22:14:57 +0000 (-0400) Subject: Let set_send_video do it's job X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=d341cb5a4ce8555233e879febe765b1d8d6accd8 Let set_send_video do it's job --- diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 5603ddf6..92e0c439 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1344,10 +1344,7 @@ disable_camera (EmpathyCallWindow *self) DEBUG ("Disable camera"); - display_video_preview (self, FALSE); - - if (priv->camera_state == CAMERA_STATE_ON) - empathy_call_window_set_send_video (self, CAMERA_STATE_OFF); + empathy_call_window_set_send_video (self, CAMERA_STATE_OFF); priv->camera_state = CAMERA_STATE_OFF; }