Mercurial > pidgin
comparison libpurple/media/backend-fs2.c @ 29178:a7cad99144f0
Make the backend interface's set_remote_codecs function return gboolean.
This is to match PurpleMedia's set_remote_codecs returning gboolean.
author | maiku@pidgin.im |
---|---|
date | Mon, 26 Oct 2009 22:59:13 +0000 |
parents | f0966e90ec44 |
children | a39696686dd6 |
comparison
equal
deleted
inserted
replaced
29177:f0966e90ec44 | 29178:a7cad99144f0 |
---|---|
73 static GList *purple_media_backend_fs2_get_codecs(PurpleMediaBackend *self, | 73 static GList *purple_media_backend_fs2_get_codecs(PurpleMediaBackend *self, |
74 const gchar *sess_id); | 74 const gchar *sess_id); |
75 static GList *purple_media_backend_fs2_get_local_candidates( | 75 static GList *purple_media_backend_fs2_get_local_candidates( |
76 PurpleMediaBackend *self, | 76 PurpleMediaBackend *self, |
77 const gchar *sess_id, const gchar *participant); | 77 const gchar *sess_id, const gchar *participant); |
78 static void purple_media_backend_fs2_set_remote_codecs( | 78 static gboolean purple_media_backend_fs2_set_remote_codecs( |
79 PurpleMediaBackend *self, | 79 PurpleMediaBackend *self, |
80 const gchar *sess_id, const gchar *participant, | 80 const gchar *sess_id, const gchar *participant, |
81 GList *codecs); | 81 GList *codecs); |
82 static void purple_media_backend_fs2_set_send_codec(PurpleMediaBackend *self, | 82 static void purple_media_backend_fs2_set_send_codec(PurpleMediaBackend *self, |
83 const gchar *sess_id, PurpleMediaCodec *codec); | 83 const gchar *sess_id, PurpleMediaCodec *codec); |
1428 candidates = _candidate_list_from_fs( | 1428 candidates = _candidate_list_from_fs( |
1429 stream->local_candidates); | 1429 stream->local_candidates); |
1430 return candidates; | 1430 return candidates; |
1431 } | 1431 } |
1432 | 1432 |
1433 static void | 1433 static gboolean |
1434 purple_media_backend_fs2_set_remote_codecs(PurpleMediaBackend *self, | 1434 purple_media_backend_fs2_set_remote_codecs(PurpleMediaBackend *self, |
1435 const gchar *sess_id, const gchar *participant, | 1435 const gchar *sess_id, const gchar *participant, |
1436 GList *codecs) | 1436 GList *codecs) |
1437 { | 1437 { |
1438 return FALSE; | |
1438 } | 1439 } |
1439 | 1440 |
1440 static void | 1441 static void |
1441 purple_media_backend_fs2_set_send_codec(PurpleMediaBackend *self, | 1442 purple_media_backend_fs2_set_send_codec(PurpleMediaBackend *self, |
1442 const gchar *sess_id, PurpleMediaCodec *codec) | 1443 const gchar *sess_id, PurpleMediaCodec *codec) |