* nsterm.h (EmacsScroller): Remove dealloc.
* nsterm.m (judge): EmacsScroller: Move dealloc code here.
(dealloc): Remove for EmacsScroller.
+2014-06-30 Jan Djärv <jan.h.d@swipnet.se>
+
+ * nsterm.m (judge): EmacsScroller: Move dealloc code here.
+ (dealloc): Remove for EmacsScroller.
+
+ * nsterm.h (EmacsScroller): Remove dealloc.
+
2014-06-30 Eli Zaretskii <eliz@gnu.org>
* coding.c (MIN_CHARBUF_SIZE): Enlarge to 32. (Bug#17881)
- initFrame: (NSRect )r window: (Lisp_Object)win;
- (void)setFrame: (NSRect)r;
-- (void)dealloc;
- setPosition: (int) position portion: (int) portion whole: (int) whole;
- (int) checkSamePosition: (int)position portion: (int)portion
}
-- (void)dealloc
-{
- NSTRACE (EmacsScroller_dealloc);
- if (!NILP (win))
- wset_vertical_scroll_bar (XWINDOW (win), Qnil);
- [super dealloc];
-}
-
-
- condemn
{
NSTRACE (condemn);
view = (EmacsView *)FRAME_NS_VIEW (frame);
if (view != nil)
view->scrollbarsNeedingUpdate++;
+ if (!NILP (win))
+ wset_vertical_scroll_bar (XWINDOW (win), Qnil);
+ win = Qnil;
[self removeFromSuperview];
[self release];
unblock_input ();