From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.devel
Subject: [PATCH 12/13] Fix call of registerServicesMenuSendTypes
Date: Sat, 20 May 2017 16:58:40 +0200
Message-ID: <20170520145841.94282-12-phst@google.com>
References: <20170520145841.94282-1-phst@google.com>
NNTP-Posting-Host: blaine.gmane.org
X-Trace: blaine.gmane.org 1495292888 10988 195.159.176.226 (20 May 2017 15:08:08 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 20 May 2017 15:08:08 +0000 (UTC)
Cc: Philipp Stephani
To: emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 20 17:08:04 2017
Return-path:
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
by blaine.gmane.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1dC5zA-0002l1-Al
for ged-emacs-devel@m.gmane.org; Sat, 20 May 2017 17:08:04 +0200
Original-Received: from localhost ([::1]:34547 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1dC5zF-0005Ou-JB
for ged-emacs-devel@m.gmane.org; Sat, 20 May 2017 11:08:09 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50044)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1dC5qq-000804-Tw
for emacs-devel@gnu.org; Sat, 20 May 2017 10:59:29 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1dC5qn-0003JB-7u
for emacs-devel@gnu.org; Sat, 20 May 2017 10:59:28 -0400
Original-Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:34930)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1dC5qn-0003J0-2b
for emacs-devel@gnu.org; Sat, 20 May 2017 10:59:25 -0400
Original-Received: by mail-wm0-x244.google.com with SMTP id g15so3663138wmc.2
for ; Sat, 20 May 2017 07:59:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:cc:subject:date:message-id:in-reply-to:references;
bh=EXEmeJgTtW+UQCOxCa/iSt4IDK3IE5tyBeDCWnY9lgM=;
b=dpFuEhzEfZOF4Mj8hoD/T/zOctZhlr5oUe2TA4Ju5e6//ZpYrsJHZI8PjBYF6kFHqo
HUcqGCx558r/aztAysFsUWKfLVFLx0pU18pc9XQVpWYwWNOjVxnuo60GzYx5Hbh/mFhy
e0wjXK8+At9nSeMABQJsKuDaPaH4OIZ4paKTT3rYJsscrRF8RR/7TODlolTEnOccb/FJ
88hjDt6Glt3vLBUmbV7m+RiNx+WHqMoYjIoK+dSkVzbbc0M6RGOZ/D7keJK2sgqIP/PP
1hWuWMXLDZpnCnWsOSe0Ree/jEP/9pkBOPFDTqMWSnQwG7poYBmPj0mKWhBRDEl0oHwi
+fgA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
:references;
bh=EXEmeJgTtW+UQCOxCa/iSt4IDK3IE5tyBeDCWnY9lgM=;
b=V2kIb2y9L1OmSlcCQTamPicvH/72ZWGaEWOlYgSKaAZ+GUkUrdLR35AwPlVgUam3t4
wn7BmNlCEuF5HJvGp5Jq9Z1AdMUvnzMXmPv3KG9X4rfP93u3fBlLU1DfLcPrv1Aehz0r
Br2WVsKpMCA6cNC/Uo6eUyAf6RLdl8KtbmQ/x1jNiZYc5O1/NHdPvQVGnsQ1axUyisGX
9yWOPWqfvobfvazdzcnhfy+LW/iWAU1aJ6pUVLHi2ZeYtiioHaFsF+WRuguLNCX0qgH0
CbAe/P5Wu9OfPRaRAQEH9mE40pknlpN3R34+hDJR2Wf8A7X5k3lY9uMRP5fN+rU08j4U
KgLQ==
X-Gm-Message-State: AODbwcBz6AfumrM8VlfPuYDw1zYor4Mz0IjsGGi1xhinApEN8qvMLrDE
4x/hc1sSI4Y/60V6YxM=
X-Received: by 10.28.130.213 with SMTP id e204mr5624212wmd.33.1495292363807;
Sat, 20 May 2017 07:59:23 -0700 (PDT)
Original-Received: from p.cm.cablesurf.de (46.128.198.151.dynamic.cablesurf.de.
[46.128.198.151])
by smtp.gmail.com with ESMTPSA id 4sm7795937wrv.33.2017.05.20.07.59.22
(version=TLS1 cipher=AES128-SHA bits=128/128);
Sat, 20 May 2017 07:59:23 -0700 (PDT)
X-Google-Original-From: Philipp Stephani
X-Mailer: git-send-email 2.13.0
In-Reply-To: <20170520145841.94282-1-phst@google.com>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 2a00:1450:400c:c09::244
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions."
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel"
Xref: news.gmane.org gmane.emacs.devel:215026
Archived-At:
* src/nsterm.m (initFrameFromEmacs:): nil is not allowed for
returnTypes; pass an empty array instead.
---
src/nsterm.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nsterm.m b/src/nsterm.m
index 0667ebb45b..27c5792800 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -7022,7 +7022,7 @@ - (instancetype) initFrameFromEmacs: (struct frame *)f
[self allocateGState];
#endif
[NSApp registerServicesMenuSendTypes: ns_send_types
- returnTypes: nil];
+ returnTypes: [NSArray array]];
/* macOS Sierra automatically enables tabbed windows. We can't
allow this to be enabled until it's available on a Free system.
--
2.13.0