emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/pgtk 68b8acc: Fix compilation issue when --enable-checking=glyph


From: Yuuki Harano
Subject: feature/pgtk 68b8acc: Fix compilation issue when --enable-checking=glyphs
Date: Wed, 25 Nov 2020 07:16:29 -0500 (EST)

branch: feature/pgtk
commit 68b8acc405f2f7f7cfca6fe88820dfa13161a3c6
Author: Yuuki Harano <masm+github@masm11.me>
Commit: Yuuki Harano <masm+github@masm11.me>

    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.
---
 src/pgtkfns.c  | 8 --------
 src/pgtkterm.c | 2 --
 2 files changed, 10 deletions(-)

diff --git a/src/pgtkfns.c b/src/pgtkfns.c
index 494cbc7..e280bb3 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 ab61283..6f2bb28 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;
     }
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]