changeset 29199:08e2067d15b3

Remove unnecessary properties from the Fs2 media backend's internal structures.
author maiku@pidgin.im
date Tue, 27 Oct 2009 21:59:45 +0000
parents 0b54934f2742
children 8b04812396b9
files libpurple/media/backend-fs2.c
diffstat 1 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/media/backend-fs2.c	Tue Oct 27 21:50:19 2009 +0000
+++ b/libpurple/media/backend-fs2.c	Tue Oct 27 21:59:45 2009 +0000
@@ -113,21 +113,13 @@
 	GList *local_candidates;
 	GList *remote_candidates;
 
-	GList *active_local_candidates;
-	GList *active_remote_candidates;
-
 	guint connected_cb_id;
-
-	gboolean initiator;
-	gboolean accepted;
-	gboolean candidates_prepared;
 };
 
 struct _PurpleMediaBackendFs2Session
 {
 	PurpleMediaBackendFs2 *backend;
 	gchar *id;
-	gboolean initiator;
 	FsSession *session;
 
 	GstElement *src;
@@ -266,14 +258,6 @@
 		if (stream->remote_candidates)
 			fs_candidate_list_destroy(stream->remote_candidates);
 
-		if (stream->active_local_candidates)
-			fs_candidate_list_destroy(
-					stream->active_local_candidates);
-
-		if (stream->active_remote_candidates)
-			fs_candidate_list_destroy(
-					stream->active_remote_candidates);
-
 		g_free(stream);
 	}
 
@@ -1439,7 +1423,6 @@
 	session->id = g_strdup(sess_id);
 	session->backend = self;
 	session->type = type;
-	session->initiator = initiator;
 
 	if (!priv->sessions) {
 		purple_debug_info("backend-fs2",
@@ -1692,7 +1675,6 @@
 	}
 
 	stream = g_new0(PurpleMediaBackendFs2Stream, 1);
-	stream->initiator = initiator;
 	stream->participant = g_strdup(who);
 	stream->session = session;
 	stream->stream = fsstream;