# HG changeset patch # User maiku@pidgin.im # Date 1256680785 0 # Node ID 08e2067d15b32dbb7bc4bf2d5b36c5a8f4a0f0ed # Parent 0b54934f2742598a6c1ce6fa0bdaef50babea844 Remove unnecessary properties from the Fs2 media backend's internal structures. diff -r 0b54934f2742 -r 08e2067d15b3 libpurple/media/backend-fs2.c --- 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;