# HG changeset patch # User maiku@pidgin.im # Date 1256680004 0 # Node ID 2751016b80840d1d4ec67399b8c659bd3e0c2c5a # Parent 2e450463e30d314c640c31838d970e6e5cd3adca Remove references to FsStream in PurpleMedia. diff -r 2e450463e30d -r 2751016b8084 libpurple/media/backend-fs2.c --- a/libpurple/media/backend-fs2.c Tue Oct 27 21:41:29 2009 +0000 +++ b/libpurple/media/backend-fs2.c Tue Oct 27 21:46:44 2009 +0000 @@ -1949,15 +1949,6 @@ return TRUE; } -FsStream * -purple_media_backend_fs2_get_stream(PurpleMediaBackendFs2 *self, - const gchar *sess_id, const gchar *who) -{ - PurpleMediaBackendFs2Stream *stream = - _get_stream(self, sess_id, who); - return stream != NULL? stream->stream : NULL; -} - GstElement * purple_media_backend_fs2_get_src(PurpleMediaBackendFs2 *self, const gchar *sess_id) diff -r 2e450463e30d -r 2751016b8084 libpurple/media/backend-fs2.h --- a/libpurple/media/backend-fs2.h Tue Oct 27 21:41:29 2009 +0000 +++ b/libpurple/media/backend-fs2.h Tue Oct 27 21:46:44 2009 +0000 @@ -59,10 +59,7 @@ * Temporary function in order to be able to test while * integrating with PurpleMedia */ -#include -FsStream *purple_media_backend_fs2_get_stream( - PurpleMediaBackendFs2 *self, - const gchar *sess_id, const gchar *who); +#include GstElement *purple_media_backend_fs2_get_src( PurpleMediaBackendFs2 *self, const gchar *sess_id); diff -r 2e450463e30d -r 2751016b8084 libpurple/media/media.c --- a/libpurple/media/media.c Tue Oct 27 21:41:29 2009 +0000 +++ b/libpurple/media/media.c Tue Oct 27 21:46:44 2009 +0000 @@ -837,12 +837,6 @@ } if (purple_media_get_stream(media, sess_id, who) == NULL) { - FsStream *fsstream = NULL; - - fsstream = purple_media_backend_fs2_get_stream( - PURPLE_MEDIA_BACKEND_FS2( - media->priv->backend), sess_id, who); - stream = purple_media_insert_stream(session, who, initiator); g_signal_emit(media, purple_media_signals[STATE_CHANGED],