Mercurial > pidgin.yaz
diff libpurple/media/media.c @ 29604:2b2b930281a0
Add a way to set and get which media backend type to use.
author | maiku@pidgin.im |
---|---|
date | Wed, 28 Oct 2009 20:06:21 +0000 |
parents | f66dec812ba9 |
children | 7c87e62790a6 |
line wrap: on
line diff
--- a/libpurple/media/media.c Wed Oct 28 19:01:33 2009 +0000 +++ b/libpurple/media/media.c Wed Oct 28 20:06:21 2009 +0000 @@ -371,9 +371,9 @@ case PROP_CONFERENCE_TYPE: media->priv->conference_type = g_value_dup_string(value); - /* Will eventually get this type from the media manager */ media->priv->backend = g_object_new( - PURPLE_TYPE_MEDIA_BACKEND_FS2, + purple_media_manager_get_backend_type( + purple_media_manager_get()), "conference-type", media->priv->conference_type, "media", media,