Mercurial > pidgin
comparison libpurple/media/media.c @ 29210: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 |
comparison
equal
deleted
inserted
replaced
29209:d510b0324721 | 29210:2b2b930281a0 |
---|---|
369 media->priv->account = g_value_get_pointer(value); | 369 media->priv->account = g_value_get_pointer(value); |
370 break; | 370 break; |
371 case PROP_CONFERENCE_TYPE: | 371 case PROP_CONFERENCE_TYPE: |
372 media->priv->conference_type = | 372 media->priv->conference_type = |
373 g_value_dup_string(value); | 373 g_value_dup_string(value); |
374 /* Will eventually get this type from the media manager */ | |
375 media->priv->backend = g_object_new( | 374 media->priv->backend = g_object_new( |
376 PURPLE_TYPE_MEDIA_BACKEND_FS2, | 375 purple_media_manager_get_backend_type( |
376 purple_media_manager_get()), | |
377 "conference-type", | 377 "conference-type", |
378 media->priv->conference_type, | 378 media->priv->conference_type, |
379 "media", media, | 379 "media", media, |
380 NULL); | 380 NULL); |
381 g_signal_connect(media->priv->backend, | 381 g_signal_connect(media->priv->backend, |