[empathy: 18/99] Don't use tpy_call_channel_is_sending_video
- From: Emilio Pozuelo Monfort <epm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 18/99] Don't use tpy_call_channel_is_sending_video
- Date: Thu, 9 Jun 2011 09:50:52 +0000 (UTC)
commit 6f62cdace76e62b3ec32c3a83b99db1ef6636dfd
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 510a47f..01c7dd4 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2453,8 +2453,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]