[telepathy-gabble/master] JingleTransportIface: rename add_candidates() to more descriptive new_local_candidates()
Senko Rasic
senko.rasic at collabora.co.uk
Mon Jun 29 04:43:13 PDT 2009
---
src/jingle-content.c | 2 +-
src/jingle-transport-google.c | 4 ++--
src/jingle-transport-iceudp.c | 4 ++--
src/jingle-transport-iface.c | 4 ++--
src/jingle-transport-iface.h | 4 ++--
src/jingle-transport-rawudp.c | 4 ++--
6 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/jingle-content.c b/src/jingle-content.c
index 323f6d1..8329084 100644
--- a/src/jingle-content.c
+++ b/src/jingle-content.c
@@ -753,7 +753,7 @@ gabble_jingle_content_add_candidates (GabbleJingleContent *self, GList *li)
{
GabbleJingleContentPrivate *priv = self->priv;
- gabble_jingle_transport_iface_add_candidates (priv->transport, li);
+ gabble_jingle_transport_iface_new_local_candidates (priv->transport, li);
}
/* Returns whether the content is ready to be signalled (initiated, for local
diff --git a/src/jingle-transport-google.c b/src/jingle-transport-google.c
index a67bc64..3417d94 100644
--- a/src/jingle-transport-google.c
+++ b/src/jingle-transport-google.c
@@ -522,7 +522,7 @@ group_and_transmit_candidates (GabbleJingleTransportGoogle *transport,
/* Takes in a list of slice-allocated JingleCandidate structs */
static void
-add_candidates (GabbleJingleTransportIface *obj, GList *new_candidates)
+new_local_candidates (GabbleJingleTransportIface *obj, GList *new_candidates)
{
GabbleJingleTransportGoogle *transport =
GABBLE_JINGLE_TRANSPORT_GOOGLE (obj);
@@ -599,7 +599,7 @@ transport_iface_init (gpointer g_iface, gpointer iface_data)
GabbleJingleTransportIfaceClass *klass = (GabbleJingleTransportIfaceClass *) g_iface;
klass->parse_candidates = parse_candidates;
- klass->add_candidates = add_candidates;
+ klass->new_local_candidates = new_local_candidates;
klass->retransmit_candidates = retransmit_candidates;
klass->get_remote_candidates = get_remote_candidates;
klass->get_transport_type = get_transport_type;
diff --git a/src/jingle-transport-iceudp.c b/src/jingle-transport-iceudp.c
index 6ecabd9..20518c3 100644
--- a/src/jingle-transport-iceudp.c
+++ b/src/jingle-transport-iceudp.c
@@ -465,7 +465,7 @@ transmit_candidates (GabbleJingleTransportIceUdp *transport, GList *candidates)
/* Takes in a list of slice-allocated JingleCandidate structs */
static void
-add_candidates (GabbleJingleTransportIface *obj, GList *new_candidates)
+new_local_candidates (GabbleJingleTransportIface *obj, GList *new_candidates)
{
GabbleJingleTransportIceUdp *transport =
GABBLE_JINGLE_TRANSPORT_ICEUDP (obj);
@@ -544,7 +544,7 @@ transport_iface_init (gpointer g_iface, gpointer iface_data)
GabbleJingleTransportIfaceClass *klass = (GabbleJingleTransportIfaceClass *) g_iface;
klass->parse_candidates = parse_candidates;
- klass->add_candidates = add_candidates;
+ klass->new_local_candidates = new_local_candidates;
klass->retransmit_candidates = retransmit_candidates;
klass->get_remote_candidates = get_remote_candidates;
klass->get_transport_type = get_transport_type;
diff --git a/src/jingle-transport-iface.c b/src/jingle-transport-iface.c
index 8c29c88..fb0eee1 100644
--- a/src/jingle-transport-iface.c
+++ b/src/jingle-transport-iface.c
@@ -53,12 +53,12 @@ gabble_jingle_transport_iface_parse_candidates (GabbleJingleTransportIface *self
/* Takes in a list of slice-allocated JingleCandidate structs */
void
-gabble_jingle_transport_iface_add_candidates (GabbleJingleTransportIface *self,
+gabble_jingle_transport_iface_new_local_candidates (GabbleJingleTransportIface *self,
GList *candidates)
{
void (*virtual_method)(GabbleJingleTransportIface *,
GList *) =
- GABBLE_JINGLE_TRANSPORT_IFACE_GET_CLASS (self)->add_candidates;
+ GABBLE_JINGLE_TRANSPORT_IFACE_GET_CLASS (self)->new_local_candidates;
g_assert (virtual_method != NULL);
virtual_method (self, candidates);
diff --git a/src/jingle-transport-iface.h b/src/jingle-transport-iface.h
index 8322bc8..0432898 100644
--- a/src/jingle-transport-iface.h
+++ b/src/jingle-transport-iface.h
@@ -43,7 +43,7 @@ struct _GabbleJingleTransportIfaceClass {
void (*parse_candidates) (GabbleJingleTransportIface *,
LmMessageNode *, GError **);
- void (*add_candidates) (GabbleJingleTransportIface *,
+ void (*new_local_candidates) (GabbleJingleTransportIface *,
GList *);
void (*retransmit_candidates) (GabbleJingleTransportIface *, gboolean);
GList * (*get_remote_candidates) (GabbleJingleTransportIface *);
@@ -65,7 +65,7 @@ GType gabble_jingle_transport_iface_get_type (void);
void gabble_jingle_transport_iface_parse_candidates (GabbleJingleTransportIface *,
LmMessageNode *, GError **);
-void gabble_jingle_transport_iface_add_candidates (GabbleJingleTransportIface *, GList *);
+void gabble_jingle_transport_iface_new_local_candidates (GabbleJingleTransportIface *, GList *);
void gabble_jingle_transport_iface_retransmit_candidates (GabbleJingleTransportIface *, gboolean);
GList *gabble_jingle_transport_iface_get_remote_candidates (GabbleJingleTransportIface *);
JingleTransportType gabble_jingle_transport_iface_get_transport_type (GabbleJingleTransportIface *);
diff --git a/src/jingle-transport-rawudp.c b/src/jingle-transport-rawudp.c
index edd513c..deb82d0 100644
--- a/src/jingle-transport-rawudp.c
+++ b/src/jingle-transport-rawudp.c
@@ -404,7 +404,7 @@ transmit_candidates (GabbleJingleTransportRawUdp *transport, GList *candidates)
/* Takes in a list of slice-allocated JingleCandidate structs */
static void
-add_candidates (GabbleJingleTransportIface *obj, GList *new_candidates)
+new_local_candidates (GabbleJingleTransportIface *obj, GList *new_candidates)
{
GabbleJingleTransportRawUdp *transport =
GABBLE_JINGLE_TRANSPORT_RAWUDP (obj);
@@ -485,7 +485,7 @@ transport_iface_init (gpointer g_iface, gpointer iface_data)
GabbleJingleTransportIfaceClass *klass = (GabbleJingleTransportIfaceClass *) g_iface;
klass->parse_candidates = parse_candidates;
- klass->add_candidates = add_candidates;
+ klass->new_local_candidates = new_local_candidates;
klass->retransmit_candidates = retransmit_candidates;
klass->get_remote_candidates = get_remote_candidates;
klass->get_transport_type = get_transport_type;
--
1.5.6.5
More information about the telepathy-commits
mailing list