summaryrefslogtreecommitdiff
path: root/wocky
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2013-01-14 16:32:51 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2013-01-14 16:32:51 +0000
commit2cd46f5f8b96ad1af60d3bea5a48466592b43f31 (patch)
tree3141e9f9c475ad2cbb759127132967d42981cd02 /wocky
parent63e3f0d8035cd82575774b91c9ce0ed087af7582 (diff)
jingle-transport-google: remove redundant media-type lookup
The 'media' variable was not used.
Diffstat (limited to 'wocky')
-rw-r--r--wocky/jingle-transport-google.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/wocky/jingle-transport-google.c b/wocky/jingle-transport-google.c
index f5e36dc..1d99b15 100644
--- a/wocky/jingle-transport-google.c
+++ b/wocky/jingle-transport-google.c
@@ -467,7 +467,6 @@ group_and_transmit_candidates (WockyJingleTransportGoogle *transport,
{
WockyJingleTransportGooglePrivate *priv = transport->priv;
GList *all_candidates = NULL;
- WockyJingleMediaType media;
GList *li;
GList *cands;
@@ -493,8 +492,6 @@ group_and_transmit_candidates (WockyJingleTransportGoogle *transport,
cands->data = g_list_prepend (cands->data, c);
}
- g_object_get (priv->content, "media-type", &media, NULL);
-
for (cands = all_candidates; cands != NULL; cands = g_list_next (cands))
{
GHashTableIter iter;