[empathy/gnome-2-34] Don't use tpy_call_channel_is_sending_video



commit e37519e9d15b5d68e92a6baa10ab5b9347151590
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Mon Feb 21 15:41:16 2011 +0000

    Don't use tpy_call_channel_is_sending_video
    
    Check if we have initial video instead.

 src/empathy-call-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 340bc6c..d47cfac 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2432,8 +2432,8 @@ empathy_call_window_connected (gpointer user_data)
   if (priv->video_input == NULL)
     empathy_call_window_set_send_video (self, CAMERA_STATE_OFF);
 
-  priv->sending_video = can_send_video ?
-    tpy_call_channel_is_sending_video (call) : FALSE;
+  priv->sending_video = can_send_video &&
+    empathy_call_handler_has_initial_video (priv->handler);
 
   gtk_toggle_tool_button_set_active (
       GTK_TOGGLE_TOOL_BUTTON (priv->tool_button_camera_on),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]