diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-02-12 03:43:57 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-02-12 03:43:57 +0800 |
commit | 36d9c4f0d90951ea2961382f8f0b379fe94c9a33 (patch) | |
tree | 4b441ba18631ca6ffdca470a6b1d3972e9121915 | |
parent | 21cc0bdd7c16538ba49dfa0809ad643aa0cec91c (diff) | |
download | gsoc2013-empathy-36d9c4f0d90951ea2961382f8f0b379fe94c9a33.tar.gz gsoc2013-empathy-36d9c4f0d90951ea2961382f8f0b379fe94c9a33.tar.zst gsoc2013-empathy-36d9c4f0d90951ea2961382f8f0b379fe94c9a33.zip |
Remove unused functions
From: Olivier CrĂȘte <olivier.crete@collabora.co.uk>
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2442
-rw-r--r-- | libempathy/empathy-tp-call.c | 78 | ||||
-rw-r--r-- | libempathy/empathy-tp-call.h | 9 | ||||
-rw-r--r-- | python/pyempathy/pyempathy.defs | 54 |
3 files changed, 0 insertions, 141 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c index 386ac80f3..42bf7a063 100644 --- a/libempathy/empathy-tp-call.c +++ b/libempathy/empathy-tp-call.c @@ -625,84 +625,6 @@ empathy_tp_call_request_video_stream_direction (EmpathyTpCall *call, } void -empathy_tp_call_add_preview_video (EmpathyTpCall *call, - guint preview_video_socket_id) -{ - //EmpathyTpCallPriv *priv = GET_PRIV (call); - - g_return_if_fail (EMPATHY_IS_TP_CALL (call)); - - DEBUG ("Adding preview video"); - - /* FIXME add the preview window */ -} - -void -empathy_tp_call_remove_preview_video (EmpathyTpCall *call, - guint preview_video_socket_id) -{ - //EmpathyTpCallPriv *priv = GET_PRIV (call); - - g_return_if_fail (EMPATHY_IS_TP_CALL (call)); - - DEBUG ("Removing preview video"); - - /* FIXME remove the preview window */ -} - -void -empathy_tp_call_add_output_video (EmpathyTpCall *call, - guint output_video_socket_id) -{ - //EmpathyTpCallPriv *priv = GET_PRIV (call); - - g_return_if_fail (EMPATHY_IS_TP_CALL (call)); - - DEBUG ("Adding output video - socket: %d", output_video_socket_id); - - /* FIXME add output window */ -} - -void -empathy_tp_call_set_output_volume (EmpathyTpCall *call, - guint volume) -{ - EmpathyTpCallPriv *priv = GET_PRIV (call); - - g_return_if_fail (EMPATHY_IS_TP_CALL (call)); - g_return_if_fail (priv->status != EMPATHY_TP_CALL_STATUS_CLOSED); - - DEBUG ("Setting output volume: %d", volume); - - /* FIXME set volume */ -} - -void -empathy_tp_call_mute_output (EmpathyTpCall *call, - gboolean is_muted) -{ - //EmpathyTpCallPriv *priv = GET_PRIV (call); - - g_return_if_fail (EMPATHY_IS_TP_CALL (call)); - - DEBUG ("Setting output mute: %d", is_muted); - /* FIXME mute output */ -} - -void -empathy_tp_call_mute_input (EmpathyTpCall *call, - gboolean is_muted) -{ - //EmpathyTpCallPriv *priv = GET_PRIV (call); - - g_return_if_fail (EMPATHY_IS_TP_CALL (call)); - - DEBUG ("Setting input mute: %d", is_muted); - - /* FIXME mute input */ -} - -void empathy_tp_call_start_tone (EmpathyTpCall *call, TpDTMFEvent event) { EmpathyTpCallPriv *priv = GET_PRIV (call); diff --git a/libempathy/empathy-tp-call.h b/libempathy/empathy-tp-call.h index 599bfac11..081773423 100644 --- a/libempathy/empathy-tp-call.h +++ b/libempathy/empathy-tp-call.h @@ -81,15 +81,6 @@ void empathy_tp_call_to (EmpathyTpCall *call, EmpathyContact *contact); void empathy_tp_call_accept_incoming_call (EmpathyTpCall *call); void empathy_tp_call_request_video_stream_direction (EmpathyTpCall *call, gboolean is_sending); -void empathy_tp_call_add_preview_video (EmpathyTpCall *call, - guint preview_video_socket_id); -void empathy_tp_call_remove_preview_video (EmpathyTpCall *call, - guint preview_video_socket_id); -void empathy_tp_call_add_output_video (EmpathyTpCall *call, - guint output_video_socket_id); -void empathy_tp_call_set_output_volume (EmpathyTpCall *call, guint volume); -void empathy_tp_call_mute_output (EmpathyTpCall *call, gboolean is_muted); -void empathy_tp_call_mute_input (EmpathyTpCall *call, gboolean is_muted); void empathy_tp_call_start_tone (EmpathyTpCall *call, TpDTMFEvent event); void empathy_tp_call_stop_tone (EmpathyTpCall *call); gboolean empathy_tp_call_has_dtmf (EmpathyTpCall *call); diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs index 594a51e97..6af28f3e6 100644 --- a/python/pyempathy/pyempathy.defs +++ b/python/pyempathy/pyempathy.defs @@ -1978,60 +1978,6 @@ ) ) -(define-method add_preview_video - (of-object "EmpathyTpCall") - (c-name "empathy_tp_call_add_preview_video") - (return-type "none") - (parameters - '("guint" "preview_video_socket_id") - ) -) - -(define-method remove_preview_video - (of-object "EmpathyTpCall") - (c-name "empathy_tp_call_remove_preview_video") - (return-type "none") - (parameters - '("guint" "preview_video_socket_id") - ) -) - -(define-method add_output_video - (of-object "EmpathyTpCall") - (c-name "empathy_tp_call_add_output_video") - (return-type "none") - (parameters - '("guint" "output_video_socket_id") - ) -) - -(define-method set_output_volume - (of-object "EmpathyTpCall") - (c-name "empathy_tp_call_set_output_volume") - (return-type "none") - (parameters - '("guint" "volume") - ) -) - -(define-method mute_output - (of-object "EmpathyTpCall") - (c-name "empathy_tp_call_mute_output") - (return-type "none") - (parameters - '("gboolean" "is_muted") - ) -) - -(define-method mute_input - (of-object "EmpathyTpCall") - (c-name "empathy_tp_call_mute_input") - (return-type "none") - (parameters - '("gboolean" "is_muted") - ) -) - (define-method start_tone (of-object "EmpathyTpCall") (c-name "empathy_tp_call_start_tone") |