aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-10 01:42:07 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-28 00:33:42 +0800
commitee4c91ff7f14c4f1249ee271cd56faae92ce96be (patch)
tree06a4f07495a2ee76a3ece87db2c18bda510760f4
parentf4b6d60a4b454233cac3fb5b5e1c407e7496baa6 (diff)
downloadgsoc2013-empathy-ee4c91ff7f14c4f1249ee271cd56faae92ce96be.tar
gsoc2013-empathy-ee4c91ff7f14c4f1249ee271cd56faae92ce96be.tar.gz
gsoc2013-empathy-ee4c91ff7f14c4f1249ee271cd56faae92ce96be.tar.bz2
gsoc2013-empathy-ee4c91ff7f14c4f1249ee271cd56faae92ce96be.tar.lz
gsoc2013-empathy-ee4c91ff7f14c4f1249ee271cd56faae92ce96be.tar.xz
gsoc2013-empathy-ee4c91ff7f14c4f1249ee271cd56faae92ce96be.tar.zst
gsoc2013-empathy-ee4c91ff7f14c4f1249ee271cd56faae92ce96be.zip
remove empathy_call_window_update_self_avatar_visibility
This function is wrong. We should disable the preview only when we stop sending video.
-rw-r--r--src/empathy-call-window.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 012ff301a..98707462a 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1900,28 +1900,6 @@ empathy_call_window_bus_message (GstBus *bus, GstMessage *message,
}
static void
-empathy_call_window_update_self_avatar_visibility (EmpathyCallWindow *window)
-{
- EmpathyCallWindowPriv *priv = GET_PRIV (window);
-
- if (gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (priv->always_show_preview)))
- {
- if (priv->video_preview != NULL)
- {
- gtk_widget_hide (priv->self_user_avatar_widget);
- gtk_widget_show (priv->video_preview);
- }
- else
- {
- if (priv->video_preview != NULL)
- gtk_widget_hide (priv->video_preview);
-
- gtk_widget_show (priv->self_user_avatar_widget);
- }
- }
-}
-
-static void
empathy_call_window_update_avatars_visibility (EmpathyTpCall *call,
EmpathyCallWindow *window)
{
@@ -1937,8 +1915,6 @@ empathy_call_window_update_avatars_visibility (EmpathyTpCall *call,
gtk_widget_hide (priv->video_output);
gtk_widget_show (priv->remote_user_avatar_widget);
}
-
- empathy_call_window_update_self_avatar_visibility (window);
}
static void