empathy r2442 - in trunk: libempathy python/pyempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2442 - in trunk: libempathy python/pyempathy
- Date: Wed, 11 Feb 2009 19:43:57 +0000 (UTC)
Author: xclaesse
Date: Wed Feb 11 19:43:57 2009
New Revision: 2442
URL: http://svn.gnome.org/viewvc/empathy?rev=2442&view=rev
Log:
Remove unused functions
From: Olivier CrÃte <olivier crete collabora co uk>
Signed-off-by: Sjoerd Simons <sjoerd simons collabora co uk>
Modified:
trunk/libempathy/empathy-tp-call.c
trunk/libempathy/empathy-tp-call.h
trunk/python/pyempathy/pyempathy.defs
Modified: trunk/libempathy/empathy-tp-call.c
==============================================================================
--- trunk/libempathy/empathy-tp-call.c (original)
+++ trunk/libempathy/empathy-tp-call.c Wed Feb 11 19:43:57 2009
@@ -625,84 +625,6 @@
}
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);
Modified: trunk/libempathy/empathy-tp-call.h
==============================================================================
--- trunk/libempathy/empathy-tp-call.h (original)
+++ trunk/libempathy/empathy-tp-call.h Wed Feb 11 19:43:57 2009
@@ -81,15 +81,6 @@
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);
Modified: trunk/python/pyempathy/pyempathy.defs
==============================================================================
--- trunk/python/pyempathy/pyempathy.defs (original)
+++ trunk/python/pyempathy/pyempathy.defs Wed Feb 11 19:43:57 2009
@@ -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")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]