[Telepathy-commits] [telepathy-gabble/master] add a note to _gabble_media_session_request_streams reminding people to also check that _gabble_media_channel_typeflags_to_caps and _gabble_media_channel_caps_to_typeflags are kept up to date

Robert McQueen robert.mcqueen at collabora.co.uk
Tue Aug 19 10:52:10 PDT 2008


20080506123118-418b8-b5708ae5318baf6a7bb2a9fa36db375309129c39.gz
---
 src/gabble-media-session.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gabble-media-session.c b/src/gabble-media-session.c
index aa3199d..7db34c7 100644
--- a/src/gabble-media-session.c
+++ b/src/gabble-media-session.c
@@ -2544,6 +2544,9 @@ _gabble_media_session_request_streams (GabbleMediaSession *session,
                                        GPtrArray **ret,
                                        GError **error)
 {
+  /* if you change the caps in this function, you almost certainly also need
+   * to change _gabble_media_channel_typeflags_to_caps and
+   * _gabble_media_channel_caps_to_typeflags in gabble-media-channel.c */
   static GabblePresenceCapabilities google_audio_caps =
     PRESENCE_CAP_GOOGLE_VOICE;
   static GabblePresenceCapabilities jingle_audio_caps =
-- 
1.5.6.3




More information about the Telepathy-commits mailing list