[empathy] remove empathy_call_window_update_self_avatar_visibility
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] remove empathy_call_window_update_self_avatar_visibility
- Date: Fri, 27 Nov 2009 16:39:03 +0000 (UTC)
commit ee4c91ff7f14c4f1249ee271cd56faae92ce96be
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Nov 9 17:42:07 2009 +0000
remove empathy_call_window_update_self_avatar_visibility
This function is wrong. We should disable the preview only when we stop
sending video.
src/empathy-call-window.c | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 012ff30..9870746 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]