Fix #3156430: Messages not Delivered (4th attempt)
[siplcs.git] / contrib / media-patches / purple_media_get_active_candidates.patch
blobe507c91963927e2cf2d0f6febdb0d3f7545c7363
1 diff -ru pidgin-2.6.5/libpurple/media.c pidgin-2.6.5-patched/libpurple/media.c
2 --- pidgin-2.6.5/libpurple/media.c 2010-05-13 21:56:23.151991938 +0200
3 +++ pidgin-2.6.5-patched/libpurple/media.c 2010-05-13 22:06:00.455752108 +0200
4 @@ -2966,12 +2966,6 @@
5 #endif
8 -#if 0
9 -/*
10 - * These two functions aren't being used and I'd rather not lock in the API
11 - * until they are needed. If they ever are.
12 - */
14 GList *
15 purple_media_get_active_local_candidates(PurpleMedia *media,
16 const gchar *sess_id, const gchar *participant)
17 @@ -3001,7 +2995,6 @@
18 return NULL;
19 #endif
21 -#endif
23 gboolean
24 purple_media_set_remote_codecs(PurpleMedia *media, const gchar *sess_id,
25 diff -ru pidgin-2.6.5/libpurple/media.h pidgin-2.6.5-patched/libpurple/media.h
26 --- pidgin-2.6.5/libpurple/media.h 2010-05-13 21:56:23.151991938 +0200
27 +++ pidgin-2.6.5-patched/libpurple/media.h 2010-05-13 22:03:20.495755295 +0200
28 @@ -520,12 +520,6 @@
29 const gchar *sess_id,
30 const gchar *participant);
32 -#if 0
33 -/*
34 - * These two functions aren't being used and I'd rather not lock in the API
35 - * until they are needed. If they ever are.
36 - */
38 /**
39 * Gets the active local candidates for the stream.
41 @@ -551,7 +545,6 @@
43 GList *purple_media_get_active_remote_candidates(PurpleMedia *media,
44 const gchar *sess_id, const gchar *participant);
45 -#endif
47 /**
48 * Sets remote candidates from the stream.