# HG changeset patch # User maiku@pidgin.im # Date 1256680966 0 # Node ID 8b04812396b90cd3ebfffd747d956f53335098fc # Parent 08e2067d15b32dbb7bc4bf2d5b36c5a8f4a0f0ed Remove unnecessary properties from PurpleMedia's internal structures. diff -r 08e2067d15b3 -r 8b04812396b9 libpurple/media/media.c --- a/libpurple/media/media.c Tue Oct 27 21:59:45 2009 +0000 +++ b/libpurple/media/media.c Tue Oct 27 22:02:46 2009 +0000 @@ -85,8 +85,6 @@ GList *active_local_candidates; GList *active_remote_candidates; - - guint connected_cb_id; }; #endif @@ -97,7 +95,6 @@ PurpleAccount *account; PurpleMediaBackend *backend; gchar *conference_type; - gulong gst_bus_handler_id; gboolean initiator; gpointer prpl_data; @@ -283,10 +280,6 @@ if (stream == NULL) return; - /* Remove the connected_cb timeout */ - if (stream->connected_cb_id != 0) - purple_timeout_remove(stream->connected_cb_id); - g_free(stream->participant); if (stream->local_candidates) @@ -328,15 +321,6 @@ priv->backend = NULL; } - if (priv->gst_bus_handler_id != 0) { - GstElement *pipeline = purple_media_manager_get_pipeline( - priv->manager); - GstBus *bus = gst_pipeline_get_bus(GST_PIPELINE(pipeline)); - g_signal_handler_disconnect(bus, priv->gst_bus_handler_id); - gst_object_unref(bus); - priv->gst_bus_handler_id = 0; - } - if (priv->manager) { g_object_unref(priv->manager); priv->manager = NULL;