Mercurial > emacs
comparison src/xfns.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 |
---|---|
2871 struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); | 2871 struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); |
2872 #endif | 2872 #endif |
2873 | 2873 |
2874 x_free_frame_resources (f); | 2874 x_free_frame_resources (f); |
2875 | 2875 |
2876 #if GLYPH_DEBUG | |
2876 /* Check that reference counts are indeed correct. */ | 2877 /* Check that reference counts are indeed correct. */ |
2877 xassert (dpyinfo->reference_count == dpyinfo_refcount); | 2878 xassert (dpyinfo->reference_count == dpyinfo_refcount); |
2878 xassert (dpyinfo->image_cache->refcount == image_cache_refcount); | 2879 xassert (dpyinfo->image_cache->refcount == image_cache_refcount); |
2880 #endif | |
2879 return Qt; | 2881 return Qt; |
2880 } | 2882 } |
2881 | 2883 |
2882 return Qnil; | 2884 return Qnil; |
2883 } | 2885 } |