aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYuuki Harano2020-11-25 20:40:10 +0900
committerYuuki Harano2020-11-25 20:40:10 +0900
commit68b8acc405f2f7f7cfca6fe88820dfa13161a3c6 (patch)
tree458f9e2a70ab51bb9eea32df8f7e8642d5f6a181 /src
parentd6ef9af82eafef33e117dd61aa3bd51a2464fcc6 (diff)
downloademacs-68b8acc405f2f7f7cfca6fe88820dfa13161a3c6.tar.gz
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.c8
-rw-r--r--src/pgtkterm.c2
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. */ )
1317 1317
1318 image_cache_refcount = 1318 image_cache_refcount =
1319 FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; 1319 FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0;
1320#if 0
1321#ifdef GLYPH_DEBUG
1322 dpyinfo_refcount = dpyinfo->reference_count;
1323#endif /* GLYPH_DEBUG */
1324#endif
1325 1320
1326 gui_default_parameter (f, parms, Qfont_backend, Qnil, 1321 gui_default_parameter (f, parms, Qfont_backend, Qnil,
1327 "fontBackend", "FontBackend", RES_TYPE_STRING); 1322 "fontBackend", "FontBackend", RES_TYPE_STRING);
@@ -2657,9 +2652,6 @@ x_create_tip_frame (struct pgtk_display_info *dpyinfo, Lisp_Object parms, struct
2657 2652
2658 image_cache_refcount = 2653 image_cache_refcount =
2659 FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; 2654 FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0;
2660#ifdef GLYPH_DEBUG
2661 dpyinfo_refcount = dpyinfo->reference_count;
2662#endif /* GLYPH_DEBUG */
2663 2655
2664 gui_default_parameter (f, parms, Qfont_backend, Qnil, 2656 gui_default_parameter (f, parms, Qfont_backend, Qnil,
2665 "fontBackend", "FontBackend", RES_TYPE_STRING); 2657 "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)
1004 PGTK_TRACE ("x_set_cursor_gc: 6. %08lx, %08lx.", xgcv.background, 1004 PGTK_TRACE ("x_set_cursor_gc: 6. %08lx, %08lx.", xgcv.background,
1005 xgcv.foreground); 1005 xgcv.foreground);
1006 1006
1007 IF_DEBUG (x_check_font (s->f, s->font));
1008
1009 s->xgcv = xgcv; 1007 s->xgcv = xgcv;
1010 } 1008 }
1011} 1009}