changeset 12862:b503265495f7

[gaim-migrate @ 15213] Add a note about my last commit for GObjectification. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 13 Jan 2006 18:06:18 +0000
parents 6cc43e23ad36
children 7a2169f04bdf
files src/blist.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/blist.c	Fri Jan 13 17:49:47 2006 +0000
+++ b/src/blist.c	Fri Jan 13 18:06:18 2006 +0000
@@ -1807,6 +1807,11 @@
 	GAIM_DBUS_UNREGISTER_POINTER(buddy);
 	g_free(buddy);
 
+	/* FIXME: Once GaimBuddy is a GObject, timeout callbacks can
+	 * g_object_ref() it when connecting the callback and
+	 * g_object_unref() it in the handler.  That way, it won't
+	 * get freed while the timeout is pending and this line can
+	 * be removed. */
 	while (g_source_remove_by_user_data((gpointer *)buddy));
 
 	/* If the contact is empty then remove it */