* guile-gnome, master: fix scm-error incorrect arg ist in gtk.scm
@ 2014-05-02 19:09 David Pirotte
0 siblings, 0 replies; only message in thread
From: David Pirotte @ 2014-05-02 19:09 UTC (permalink / raw)
To: guile-devel
[-- 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-02 19:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-02 19:09 guile-gnome, master: fix scm-error incorrect arg ist in gtk.scm David Pirotte
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).