libpurple/accounts.c

changeset 40683
dcc53af7a4fb
parent 40680
f9ea6d5e8992
child 40823
338bba38df77
equal deleted inserted replaced
40682:edbc992e77be 40683:dcc53af7a4fb
25 #include "accounts.h" 25 #include "accounts.h"
26 #include "core.h" 26 #include "core.h"
27 #include "debug.h" 27 #include "debug.h"
28 #include "enums.h" 28 #include "enums.h"
29 #include "network.h" 29 #include "network.h"
30 #include "pounce.h"
31 #include "purplecredentialmanager.h" 30 #include "purplecredentialmanager.h"
32 #include "purpleprivate.h" 31 #include "purpleprivate.h"
33 32
34 static PurpleAccountUiOps *account_ui_ops = NULL; 33 static PurpleAccountUiOps *account_ui_ops = NULL;
35 34
657 iter = iter->next; 656 iter = iter->next;
658 if (purple_conversation_get_account(conv) == account) 657 if (purple_conversation_get_account(conv) == account)
659 g_object_unref(conv); 658 g_object_unref(conv);
660 } 659 }
661 660
662 /* Remove this account's pounces */
663 purple_pounce_destroy_all_by_account(account);
664
665 /* This will cause the deletion of an old buddy icon. */ 661 /* This will cause the deletion of an old buddy icon. */
666 purple_buddy_icons_set_account_icon(account, NULL, 0); 662 purple_buddy_icons_set_account_icon(account, NULL, 0);
667 663
668 /* This is async because we do not want the 664 /* This is async because we do not want the
669 * account being overwritten before we are done. 665 * account being overwritten before we are done.

mercurial