comparison src/xfaces.c @ 83243:a464201fbd10

Fix xassert-related bootstrap errors. * src/xfaces.c (x_free_gc): Protect xassert with GLYPH_DEBUG. * src/xfns.c (unwind_create_frame): Ditto. * src/dispnew.c (build_frame_matrix_from_leaf_window): Ditto. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-283
author Karoly Lorentey <lorentey@elte.hu>
date Thu, 03 Feb 2005 23:44:58 +0000
parents 3dcba0bc766b
children 86457de2420c
comparison
equal deleted inserted replaced
83242:2ca9731170cd 83243:a464201fbd10
739 x_free_gc (f, gc) 739 x_free_gc (f, gc)
740 struct frame *f; 740 struct frame *f;
741 GC gc; 741 GC gc;
742 { 742 {
743 BLOCK_INPUT; 743 BLOCK_INPUT;
744 #if GLYPH_DEBUG
744 xassert (--ngcs >= 0); 745 xassert (--ngcs >= 0);
746 #endif
745 XFreeGC (FRAME_X_DISPLAY (f), gc); 747 XFreeGC (FRAME_X_DISPLAY (f), gc);
746 UNBLOCK_INPUT; 748 UNBLOCK_INPUT;
747 } 749 }
748 750
749 #endif /* HAVE_X_WINDOWS */ 751 #endif /* HAVE_X_WINDOWS */