all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Keith David Bershatsky <esq@lawlist.com>
To: Alan Third <alan@idiocy.org>
Cc: emacs-devel@gnu.org
Subject: Re: -getRed:green:blue:alpha: not defined for the NSColor
Date: Sun, 14 Jul 2019 09:12:08 -0700	[thread overview]
Message-ID: <m2r26sd293.wl%esq@lawlist.com> (raw)

Thank you, Alan, for working on this -- greatly appreciated!

Yes, your proposed modification works well for Emacs on OSX 10.6.8.  Emacs starts up just fine and there are no error messages in the gdb terminal.  I did some light testing with cursor movement and splitting windows from the Emacs welcome screen ...

Keith

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

> Date: [07-14-2019 03:24:11] <14 Jul 2019 11:24:11 +0100>
> From: Alan Third <alan@idiocy.org>
> 
> * * *
> 
> modified   src/nsimage.m
> @@ -310,6 +310,6 @@ - (instancetype)setXBMColor: (NSColor *)color
>      return self;
> 
> -  if ([color colorSpace] != [NSColorSpace deviceRGBColorSpace])
> -    rgbColor = [color colorUsingColorSpace:[NSColorSpace deviceRGBColorSpace]];
> +  if ([color colorSpace] != [NSColorSpace genericRGBColorSpace])
> +    rgbColor = [color colorUsingColorSpace:[NSColorSpace genericRGBColorSpace]];
>    else
>      rgbColor = color;



             reply	other threads:[~2019-07-14 16:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-14 16:12 Keith David Bershatsky [this message]
2019-07-14 16:42 ` -getRed:green:blue:alpha: not defined for the NSColor Alan Third
  -- strict thread matches above, loose matches on Subject: below --
2019-07-13 18:10 Keith David Bershatsky
2019-07-14 10:24 ` Alan Third
2019-07-13  4:48 Keith David Bershatsky
2019-07-12 21:52 Keith David Bershatsky
2019-07-12 23:56 ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2r26sd293.wl%esq@lawlist.com \
    --to=esq@lawlist.com \
    --cc=alan@idiocy.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.