comparison src/blist.c @ 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 a35edda11737
children 248b8b39c671
comparison
equal deleted inserted replaced
12861:6cc43e23ad36 12862:b503265495f7
1805 g_free(buddy->server_alias); 1805 g_free(buddy->server_alias);
1806 1806
1807 GAIM_DBUS_UNREGISTER_POINTER(buddy); 1807 GAIM_DBUS_UNREGISTER_POINTER(buddy);
1808 g_free(buddy); 1808 g_free(buddy);
1809 1809
1810 /* FIXME: Once GaimBuddy is a GObject, timeout callbacks can
1811 * g_object_ref() it when connecting the callback and
1812 * g_object_unref() it in the handler. That way, it won't
1813 * get freed while the timeout is pending and this line can
1814 * be removed. */
1810 while (g_source_remove_by_user_data((gpointer *)buddy)); 1815 while (g_source_remove_by_user_data((gpointer *)buddy));
1811 1816
1812 /* If the contact is empty then remove it */ 1817 /* If the contact is empty then remove it */
1813 if (!cnode->child) 1818 if (!cnode->child)
1814 gaim_blist_remove_contact(contact); 1819 gaim_blist_remove_contact(contact);