emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/X_Typedefs 19b5527: fixup! Introduce Emacs_GC stru


From: Alexander Gramiak
Subject: [Emacs-diffs] scratch/X_Typedefs 19b5527: fixup! Introduce Emacs_GC struct and typedef
Date: Tue, 14 May 2019 11:10:58 -0400 (EDT)

branch: scratch/X_Typedefs
commit 19b5527557fd90b1c5dbece49952e6d57704141c
Author: Alexander Gramiak <address@hidden>
Commit: Alexander Gramiak <address@hidden>

    fixup! Introduce Emacs_GC struct and typedef
---
 src/dispextern.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/dispextern.h b/src/dispextern.h
index 7a6cd2f..70d3765 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -1620,8 +1620,11 @@ struct face
 
   /* If non-zero, this is a GC that we can use without modification for
      drawing the characters in this face.  */
+# ifdef HAVE_X_WINDOWS
   GC gc;
-
+# else
+  Emacs_GC *gc;
+# endif
   /* Background stipple or bitmap used for this face.  This is
      an id as returned from load_pixmap.  */
   ptrdiff_t stipple;



reply via email to

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