cpw.maiku.media_refactor: 47d4eaf9: Remove unnecessary properties from the F...
maiku at pidgin.im
maiku at pidgin.im
Tue Oct 27 20:27:42 EDT 2009
-----------------------------------------------------------------
Revision: 47d4eaf94cc2366257694a351b66424924761d1f
Ancestor: 261b4a6268e6da4e0cace82be95556f2020fe53e
Author: maiku at pidgin.im
Date: 2009-10-27T21:59:45
Branch: im.pidgin.cpw.maiku.media_refactor
URL: http://d.pidgin.im/viewmtn/revision/info/47d4eaf94cc2366257694a351b66424924761d1f
Modified files:
libpurple/media/backend-fs2.c
ChangeLog:
Remove unnecessary properties from the Fs2 media backend's internal structures.
-------------- next part --------------
============================================================
--- libpurple/media/backend-fs2.c 47248f642209ecec8cf532d0a18c217ae69700ab
+++ libpurple/media/backend-fs2.c 062eb404ce9acbdd94bcf8b73bcccb3ed2943859
@@ -113,21 +113,13 @@ struct _PurpleMediaBackendFs2Stream
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 @@ purple_media_backend_fs2_finalize(GObjec
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 @@ _create_session(PurpleMediaBackendFs2 *s
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 @@ _create_stream(PurpleMediaBackendFs2 *se
}
stream = g_new0(PurpleMediaBackendFs2Stream, 1);
- stream->initiator = initiator;
stream->participant = g_strdup(who);
stream->session = session;
stream->stream = fsstream;
More information about the Commits
mailing list