unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: David Pirotte <david@altosw.be>
To: guile-devel <guile-devel@gnu.org>
Subject: guile-gnome, master: fix scm-error incorrect arg ist in gtk.scm
Date: Fri, 2 May 2014 16:09:31 -0300	[thread overview]
Message-ID: <20140502160931.7bc8c188@capac> (raw)

[-- Attachment #1: Type: text/plain, Size: 114 bytes --]

Hello,

	guile-gnome
	  master: fix scm-error incorrect arg ist in gtk.scm

Patch review solicited.

Thanks,
David

[-- Attachment #2: 0001-fix-scm-error-incorrect-arg-list-in-gtk.scm.patch --]
[-- Type: text/x-patch, Size: 1261 bytes --]

From df58a66726803f4698356d721d7611d2d11c9ee7 Mon Sep 17 00:00:00 2001
From: David PIROTTE <david@altosw.be>
Date: Fri, 2 May 2014 15:38:55 -0300
Subject: [PATCH 1/2] fix scm-error incorrect arg list in gtk.scm

* gtk/gnome/gtk.scm: Fixing scm-error arg list, all calls.
---
 gtk/gnome/gtk.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gtk/gnome/gtk.scm b/gtk/gnome/gtk.scm
index 312fe89..e274085 100644
--- a/gtk/gnome/gtk.scm
+++ b/gtk/gnome/gtk.scm
@@ -89,7 +89,7 @@
 
 ;; Miscellany.
 (define (gtk-tree-or-list-store-set store iter . args)
-  (or (even? (length args)) (scm-error 'gruntime-error "Invalid arguments"))
+  (or (even? (length args)) (scm-error 'gruntime-error #f "Invalid arguments" '() #f))
   (let loop ((args args))
     (if (eq? args '())
         *unspecified*
@@ -106,7 +106,7 @@
 (define (gtk-text-buffer-create-tag buffer tag-name . properties)
   (let ((tag (make <gtk-text-tag> #:name tag-name)))
     (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))
     (add (get-tag-table buffer) tag)
     (let loop ((props properties))
       (if (null? props)
-- 
1.9.2


                 reply	other threads:[~2014-05-02 19:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=20140502160931.7bc8c188@capac \
    --to=david@altosw.be \
    --cc=guile-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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).