public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Ian Grant <Ian.Grant@cl.cam.ac.uk>
To: guile-gtk@sourceware.cygnus.com
Subject: test-gtk.scm bug
Date: Mon, 08 Nov 1999 04:08:00 -0000	[thread overview]
Message-ID: <E11knah-0008EU-00@heaton.cl.cam.ac.uk> (raw)

This has a bad define placement. Here's a patch, modulo a few line-breaks, 
sorry.

--- test-gtk.scm.orig   Mon Mar  1 22:11:39 1999
+++ test-gtk.scm        Mon Nov  8 11:52:51 1999
@@ -264,14 +264,14 @@
     (gtk-clist-set-selection-mode clist 'extended)
     (gtk-clist-set-column-justification clist 1 'right)
     (gtk-clist-set-column-justification clist 2 'center)
-    (define x #("CListRow 0" "Right" "Center" "Column 3" "Column 4"
-                               "Column 5" "Column 6" "Column 7" "Column 8" 
"Column 9"
-                               "Column 10" "Column 11" "Column 12" "Column 
13"
-                               "Column 14" "Column 15" "Column 16" "Column 
17"
-                               "Column 18" "Column 19"))
-    (do ((i 0 (1+ i))) ((= i 10))
-      (vector-set! x 0 (string-append "CListRow " (number->string i)))
-      (gtk-clist-append clist x))
+    (let ((x #("CListRow 0" "Right" "Center" "Column 3" "Column 4"
+                                "Column 5" "Column 6" "Column 7" "Column 8" 
"Column 9"
+                                "Column 10" "Column 11" "Column 12" "Column 
13"
+                                "Column 14" "Column 15" "Column 16" "Column 
17"
+                                "Column 18" "Column 19")))
+         (do ((i 0 (1+ i))) ((= i 10))
+           (vector-set! x 0 (string-append "CListRow " (number->string i)))
+           (gtk-clist-append clist x)))
 
     (gtk-container-border-width scrolled-win 5)
     (gtk-box-pack-start box2 scrolled-win #t #t 0)


                 reply	other threads:[~1999-11-08  4:08 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

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

  git send-email \
    --in-reply-to=E11knah-0008EU-00@heaton.cl.cam.ac.uk \
    --to=ian.grant@cl.cam.ac.uk \
    --cc=guile-gtk@sourceware.cygnus.com \
    /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).