Mercurial > emacs
comparison src/frame.h @ 40655:45453187feeb
(CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument `i' in macros.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Fri, 02 Nov 2001 20:14:02 +0000 |
parents | 35857e7683d8 |
children | 2b74029038bd |
comparison
equal
deleted
inserted
replaced
40654:46a74c23644e | 40655:45453187feeb |
---|---|
612 (((f)->async_visible && (f)->visible != (f)->async_visible) ? \ | 612 (((f)->async_visible && (f)->visible != (f)->async_visible) ? \ |
613 SET_FRAME_GARBAGED (f) : 0, \ | 613 SET_FRAME_GARBAGED (f) : 0, \ |
614 (f)->visible = (f)->async_visible, \ | 614 (f)->visible = (f)->async_visible, \ |
615 (f)->iconified = (f)->async_iconified) | 615 (f)->iconified = (f)->async_iconified) |
616 | 616 |
617 #define CHECK_FRAME(x, i) \ | 617 #define CHECK_FRAME(x) \ |
618 do { \ | 618 do { \ |
619 if (! FRAMEP (x)) \ | 619 if (! FRAMEP (x)) \ |
620 x = wrong_type_argument (Qframep, (x)); \ | 620 x = wrong_type_argument (Qframep, (x)); \ |
621 } while (0) | 621 } while (0) |
622 | 622 |
623 #define CHECK_LIVE_FRAME(x, i) \ | 623 #define CHECK_LIVE_FRAME(x) \ |
624 do { \ | 624 do { \ |
625 if (! FRAMEP (x) \ | 625 if (! FRAMEP (x) \ |
626 || ! FRAME_LIVE_P (XFRAME (x))) \ | 626 || ! FRAME_LIVE_P (XFRAME (x))) \ |
627 x = wrong_type_argument (Qframe_live_p, (x)); \ | 627 x = wrong_type_argument (Qframe_live_p, (x)); \ |
628 } while (0) | 628 } while (0) |