emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/x_emacs 5f5a248 3/3: fixup! Add terminal hook defi


From: Alexander Gramiak
Subject: [Emacs-diffs] scratch/x_emacs 5f5a248 3/3: fixup! Add terminal hook defined_color_hook
Date: Thu, 25 Apr 2019 10:46:12 -0400 (EDT)

branch: scratch/x_emacs
commit 5f5a248ad5594a03e7d5397e35018b539ae9ce8f
Author: Alexander Gramiak <address@hidden>
Commit: Alexander Gramiak <address@hidden>

    fixup! Add terminal hook defined_color_hook
---
 src/w32fns.c  | 2 +-
 src/w32term.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/w32fns.c b/src/w32fns.c
index a422844..525642b 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -1173,7 +1173,7 @@ gamma_correct (struct frame *f, COLORREF *color)
    the selected frame; if so, return the rgb values in COLOR_DEF.
    If ALLOC is nonzero, allocate a new colormap cell.  */
 
-int
+bool
 w32_defined_color (struct frame *f, const char *color, XColor *color_def,
                   bool alloc_p, bool _makeIndex)
 {
diff --git a/src/w32term.h b/src/w32term.h
index 6d2604f..de372d7 100644
--- a/src/w32term.h
+++ b/src/w32term.h
@@ -241,8 +241,8 @@ extern void w32_set_scroll_bar_default_height (struct frame 
*);
 
 extern struct w32_display_info *w32_term_init (Lisp_Object,
                                               char *, char *);
-extern int w32_defined_color (struct frame *f, const char *color,
-                              XColor *color_def, bool alloc_p, bool 
_makeIndex);
+extern bool w32_defined_color (struct frame *, const char *, XColor *,
+                               bool, bool);
 extern int w32_display_pixel_height (struct w32_display_info *);
 extern int w32_display_pixel_width (struct w32_display_info *);
 extern void initialize_frame_menubar (struct frame *);



reply via email to

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