cpw.malu.xmpp.jingle_ft: 1cbc5ea7: Finalize the parent class in the IBB tra...

malu at pidgin.im malu at pidgin.im
Fri Mar 20 17:05:34 EDT 2009


-----------------------------------------------------------------
Revision: 1cbc5ea7e93d86b38b203b1d75e0fafa2e1a9106
Ancestor: 7c6d3e9221035e2cab456dfebb95b5ccfce6818e
Author: malu at pidgin.im
Date: 2009-03-20T21:02:16
Branch: im.pidgin.cpw.malu.xmpp.jingle_ft
URL: http://d.pidgin.im/viewmtn/revision/info/1cbc5ea7e93d86b38b203b1d75e0fafa2e1a9106

Modified files:
        libpurple/protocols/jabber/jingle/ibbs.c

ChangeLog: 

Finalize the parent class in the IBB transport
Added some additional debug outputs

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/ibbs.c	92b6c31344d220be53b6edb2ec223f40f26b49d9
+++ libpurple/protocols/jabber/jingle/ibbs.c	26a23413ae35e1967e74496adbe5179efe7fdca3
@@ -106,13 +106,16 @@ jingle_ibb_finalize (GObject *ibb)
 jingle_ibb_finalize (GObject *ibb)
 {
 	JingleIBBPrivate *priv = JINGLE_IBB_GET_PRIVATE(ibb);
-	purple_debug_info("jingle","jingle_ibb_finalize\n");
+	purple_debug_info("jingle","jingle_ibb_finalize transport: %lx\n",
+		ibb);
 	
 	if (priv->session) {
 		/* should manually close the IBB session */
 		jabber_ibb_session_destroy(priv->session);
 		priv->session = NULL;
 	}
+
+	G_OBJECT_CLASS(parent_class)->finalize(ibb);
 }
 
 static void
@@ -270,6 +273,8 @@ jingle_ibb_create_session(JingleIBB *ibb
 	jabber_ibb_session_set_data_received_callback(session,
 		jingle_ibb_data_recv_callback);
 	jabber_ibb_session_set_error_callback(session, jingle_ibb_error_callback);
+	purple_debug_info("jingle-ibb", "setting session %lx on transport %lx\n",
+		session, ibb);
 	JINGLE_IBB_GET_PRIVATE(ibb)->session = session;
 
 	g_object_unref(sess);


More information about the Commits mailing list