From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.devel Subject: guile-gnome, devel: fix scm-error incorrect arg ist in gnome.scm Date: Mon, 19 May 2014 17:08:20 -0300 Message-ID: <20140519170820.480bb3c3@capac> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/yP.VNRE9_uNene0aqKC7SWl" X-Trace: ger.gmane.org 1400533311 28593 80.91.229.3 (19 May 2014 21:01:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 May 2014 21:01:51 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon May 19 23:01:46 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WmUgZ-0002s5-KF for guile-devel@m.gmane.org; Mon, 19 May 2014 23:01:27 +0200 Original-Received: from localhost ([::1]:50042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmTru-0008Fv-UI for guile-devel@m.gmane.org; Mon, 19 May 2014 16:09:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmTrl-0008Fh-JZ for guile-devel@gnu.org; Mon, 19 May 2014 16:09:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmTrf-0003eM-Fm for guile-devel@gnu.org; Mon, 19 May 2014 16:08:57 -0400 Original-Received: from maximusconfessor.all2all.org ([79.99.200.102]:43954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmTrf-0003Xj-A0 for guile-devel@gnu.org; Mon, 19 May 2014 16:08:51 -0400 Original-Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 4D055A04C12D for ; Mon, 19 May 2014 22:08:29 +0200 (CEST) Original-Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id iItGn545q6NF for ; Mon, 19 May 2014 21:49:43 +0200 (CEST) Original-Received: from capac (unknown [189.60.113.125]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 4731BA04C0F4 for ; Mon, 19 May 2014 22:08:22 +0200 (CEST) X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 79.99.200.102 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17150 Archived-At: --MP_/yP.VNRE9_uNene0aqKC7SWl Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, guile-gnome devel: fix scm-error incorrect arg ist in gnome.scm Patch review solicited. Thanks, David --MP_/yP.VNRE9_uNene0aqKC7SWl Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0007-fix-scm-error-incorrect-arg-list-in-gnome.scm.patch >From 31876531f5a40f50e8882d8a3fa08617c803c2ff Mon Sep 17 00:00:00 2001 From: David PIROTTE Date: Mon, 19 May 2014 17:06:15 -0300 Subject: [PATCH 7/7] fix scm-error incorrect arg list in gnome.scm * libgnome/gnome/gnome.scm: Fixing scm-error arg list. --- libgnome/gnome/gnome.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgnome/gnome/gnome.scm b/libgnome/gnome/gnome.scm index 8b20bfd..f9ae002 100644 --- a/libgnome/gnome/gnome.scm +++ b/libgnome/gnome/gnome.scm @@ -37,7 +37,7 @@ (define (gnome-program-init name version . properties) (let ((program (%gnome-program-init name version))) (if (not (even? (length properties))) - (scm-error 'gruntime-error "Invalid property list: ~A" properties)) + (scm-error 'gruntime-error #f "Invalid property list: ~A" properties #f)) (let loop ((props properties)) (if (null? props) program -- 2.0.0.rc2 --MP_/yP.VNRE9_uNene0aqKC7SWl--