pidgin.vv: 45409e43: Remove unused function.
maiku at soc.pidgin.im
maiku at soc.pidgin.im
Tue Mar 24 02:16:23 EDT 2009
-----------------------------------------------------------------
Revision: 45409e433700bcf7655e3b5d59d979367356f7bf
Ancestor: b0dd6639a8b433383c97dc6eb6bf721c775b31d1
Author: maiku at soc.pidgin.im
Date: 2009-03-24T05:28:57
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/45409e433700bcf7655e3b5d59d979367356f7bf
Modified files:
libpurple/media.c
ChangeLog:
Remove unused function.
-------------- next part --------------
============================================================
--- libpurple/media.c 9fe1275054e3004a21437d9dd85a958fff9b2bcd
+++ libpurple/media.c b129e699c74c6ac46f1c22c122ebc697bbef1b2a
@@ -1162,31 +1162,6 @@ purple_media_set_src(PurpleMedia *media,
}
#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)
{
More information about the Commits
mailing list