# HG changeset patch # User Richard Laager # Date 1137175578 0 # Node ID b503265495f7c640301b1aa8fe4fe6bc2f43607f # Parent 6cc43e23ad3673652ba16ce3a09ad129fd0a228a [gaim-migrate @ 15213] Add a note about my last commit for GObjectification. committer: Tailor Script diff -r 6cc43e23ad36 -r b503265495f7 src/blist.c --- 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 */