Mercurial > pidgin.yaz
changeset 26442:c91d09e53215
Remove unused function.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Tue, 24 Mar 2009 05:28:57 +0000 |
parents | e33a91b8b8f6 |
children | e9b5d68887ff |
files | libpurple/media.c |
diffstat | 1 files changed, 0 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/media.c Tue Mar 24 03:38:21 2009 +0000 +++ b/libpurple/media.c Tue Mar 24 05:28:57 2009 +0000 @@ -1162,31 +1162,6 @@ } #endif -#if 0 -static void -purple_media_set_sink(PurpleMedia *media, const gchar *sess_id, - const gchar *participant, GstElement *sink) -{ - PurpleMediaStream *stream; - - g_return_if_fail(PURPLE_IS_MEDIA(media)); - - stream = purple_media_get_stream(media, sess_id, participant); - - if (stream == NULL) { - purple_debug_warning("media", "purple_media_set_sink: trying" - " to set sink on non-existent stream\n"); - return; - } - - if (stream->sink) - gst_object_unref(stream->sink); - stream->sink = sink; - gst_bin_add(GST_BIN(stream->session->media->priv->confbin), - stream->sink); -} -#endif - GstElement * purple_media_get_src(PurpleMedia *media, const gchar *sess_id) {