/[gnustep]/gnustep/core/gui/Source/NSPopUpButtonCell.m
ViewVC logotype

Diff of /gnustep/core/gui/Source/NSPopUpButtonCell.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.67 by fedor, Thu May 26 02:52:44 2005 UTC revision 1.68 by FredKiefer, Fri May 27 13:41:46 2005 UTC
# Line 86  static NSImage *_pbc_image[2]; Line 86  static NSImage *_pbc_image[2];
86  - (void) dealloc  - (void) dealloc
87  {  {
88    /*    /*
89       * The popup must be closed here, just in case the cell goes away
90       * while the popup is still displayed. In that case the notification
91       * center would still send notifications to the deallocated cell.
92       */
93      [self dismissPopUp];
94      /*
95     * We don't use methods here to clean up the selected item, the menu     * We don't use methods here to clean up the selected item, the menu
96     * item and the menu as these methods internally update the menu,     * item and the menu as these methods internally update the menu,
97     * which tries to access the target of the menu item (or of this cell).     * which tries to access the target of the menu item (or of this cell).

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26