diff options
author | Yuuki Harano <masm+github@masm11.me> | 2020-11-25 20:40:10 +0900 |
---|---|---|
committer | Yuuki Harano <masm+github@masm11.me> | 2020-11-25 20:40:10 +0900 |
commit | 68b8acc405f2f7f7cfca6fe88820dfa13161a3c6 (patch) | |
tree | 458f9e2a70ab51bb9eea32df8f7e8642d5f6a181 /src | |
parent | d6ef9af82eafef33e117dd61aa3bd51a2464fcc6 (diff) | |
download | emacs-68b8acc405f2f7f7cfca6fe88820dfa13161a3c6.tar.gz emacs-68b8acc405f2f7f7cfca6fe88820dfa13161a3c6.tar.bz2 emacs-68b8acc405f2f7f7cfca6fe88820dfa13161a3c6.zip |
Fix compilation issue when --enable-checking=glyphs
* src/pgtkfns.c (Fx_create_frame): Remove code surrounded by GLYPH_DEBUG.
(x_create_tip_frame): Remove code surrounded by GLYPH_DEBUG.
Diffstat (limited to 'src')
-rw-r--r-- | src/pgtkfns.c | 8 | ||||
-rw-r--r-- | src/pgtkterm.c | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/pgtkfns.c b/src/pgtkfns.c index 494cbc72826..e280bb33d2c 100644 --- a/src/pgtkfns.c +++ b/src/pgtkfns.c @@ -1317,11 +1317,6 @@ This function is an internal primitive--use `make-frame' instead. */ ) image_cache_refcount = FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; -#if 0 -#ifdef GLYPH_DEBUG - dpyinfo_refcount = dpyinfo->reference_count; -#endif /* GLYPH_DEBUG */ -#endif gui_default_parameter (f, parms, Qfont_backend, Qnil, "fontBackend", "FontBackend", RES_TYPE_STRING); @@ -2657,9 +2652,6 @@ x_create_tip_frame (struct pgtk_display_info *dpyinfo, Lisp_Object parms, struct image_cache_refcount = FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; -#ifdef GLYPH_DEBUG - dpyinfo_refcount = dpyinfo->reference_count; -#endif /* GLYPH_DEBUG */ gui_default_parameter (f, parms, Qfont_backend, Qnil, "fontBackend", "FontBackend", RES_TYPE_STRING); diff --git a/src/pgtkterm.c b/src/pgtkterm.c index ab61283e062..6f2bb2898b2 100644 --- a/src/pgtkterm.c +++ b/src/pgtkterm.c @@ -1004,8 +1004,6 @@ x_set_cursor_gc (struct glyph_string *s) PGTK_TRACE ("x_set_cursor_gc: 6. %08lx, %08lx.", xgcv.background, xgcv.foreground); - IF_DEBUG (x_check_font (s->f, s->font)); - s->xgcv = xgcv; } } |