changeset 26289:20062fbc8684

Swallow transport refs on setting them in the content.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Wed, 18 Mar 2009 23:10:54 +0000
parents c8d8624efd04
children 44684f0d2e42
files libpurple/protocols/jabber/jingle/content.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jingle/content.c	Tue Mar 17 12:05:02 2009 +0000
+++ b/libpurple/protocols/jabber/jingle/content.c	Wed Mar 18 23:10:54 2009 +0000
@@ -205,13 +205,11 @@
 			if (content->priv->transport)
 				g_object_unref(content->priv->transport);
 			content->priv->transport = g_value_get_object(value);
-			g_object_ref(content->priv->transport);
 			break;
 		case PROP_PENDING_TRANSPORT:
 			if (content->priv->pending_transport)
 				g_object_unref(content->priv->pending_transport);
 			content->priv->pending_transport = g_value_get_object(value);
-			g_object_ref(content->priv->pending_transport);
 			break;
 		default:	
 			G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);