changeset 29188:209fa20fc39f

Remove references to FsParticipant from PurpleMedia.
author maiku@pidgin.im
date Tue, 27 Oct 2009 19:10:57 +0000
parents f351e87b7af0
children eadb9e309b87
files libpurple/media/backend-fs2.c libpurple/media/backend-fs2.h libpurple/media/media.c
diffstat 3 files changed, 0 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/media/backend-fs2.c	Tue Oct 27 19:06:29 2009 +0000
+++ b/libpurple/media/backend-fs2.c	Tue Oct 27 19:10:57 2009 +0000
@@ -1669,13 +1669,6 @@
 	return session != NULL? session->session : NULL;
 }
 
-FsParticipant *
-purple_media_backend_fs2_get_participant(PurpleMediaBackendFs2 *self,
-		const gchar *name)
-{
-	return _get_participant(self, name);
-}
-
 FsStream *
 purple_media_backend_fs2_get_stream(PurpleMediaBackendFs2 *self,
 		const gchar *sess_id, const gchar *who)
--- a/libpurple/media/backend-fs2.h	Tue Oct 27 19:06:29 2009 +0000
+++ b/libpurple/media/backend-fs2.h	Tue Oct 27 19:10:57 2009 +0000
@@ -65,9 +65,6 @@
 FsSession *purple_media_backend_fs2_get_session(
 		PurpleMediaBackendFs2 *self,
 		const gchar *sess_id);
-FsParticipant *purple_media_backend_fs2_get_participant(
-		PurpleMediaBackendFs2 *self,
-		const gchar *name);
 FsStream *purple_media_backend_fs2_get_stream(
 		PurpleMediaBackendFs2 *self,
 		const gchar *sess_id, const gchar *who);
--- a/libpurple/media/media.c	Tue Oct 27 19:06:29 2009 +0000
+++ b/libpurple/media/media.c	Tue Oct 27 19:10:57 2009 +0000
@@ -1149,7 +1149,6 @@
 {
 #ifdef USE_VV
 	PurpleMediaSession *session;
-	FsParticipant *participant = NULL;
 	PurpleMediaStream *stream = NULL;
 	FsMediaType media_type = purple_media_to_fs_media_type(type);
 	FsStreamDirection type_direction =
@@ -1227,9 +1226,6 @@
 		}
 	}
 
-	participant = purple_media_backend_fs2_get_participant(
-			PURPLE_MEDIA_BACKEND_FS2(media->priv->backend), who);
-
 	if (purple_media_get_stream(media, sess_id, who) == NULL) {
 		FsStream *fsstream = NULL;