Merged [21218]: NSToolbarItem leaks its view, it appears. If we call setView: for...
commit09fd974647ab5ff8aa088a356378f8c5cd9b88ff
authorEvan Schoenberg <evan@adiumx.com>
Thu, 4 Oct 2007 22:51:33 +0000 (4 22:51 +0000)
committerEvan Schoenberg <evan@adiumx.com>
Thu, 4 Oct 2007 22:51:33 +0000 (4 22:51 +0000)
tree5701fad536dae60c9abf07081014f67adde6dd07
parent6c1074ea238d897b220f25733422b9b077b9d5bf
Merged [21218]: NSToolbarItem leaks its view, it appears. If we call setView: for a toolbar itme, be sure to do setView:nil when it is removed from the toolbar (as notified by NSToolbarDidRemoveItemNotification). Fixes #8042 which discussed the user icon toolbar button leaving the icon on screen after the window closed, which could only occur if it was never deallocated.

git-svn-id: svn://svn.adiumx.com/adium/branches/adium-1.1@21219 1c916fce-81e2-0310-a464-8ca513f45935
Plugins/Secure Messaging/ESSecureMessagingPlugin.m
Source/BGEmoticonMenuPlugin.m
Source/ESUserIconHandlingPlugin.m