public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
* test-gtk.scm bug
@ 1999-11-08  4:08 Ian Grant
  0 siblings, 0 replies; only message in thread
From: Ian Grant @ 1999-11-08  4:08 UTC (permalink / raw)
  To: guile-gtk

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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-11-08  4:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-08  4:08 test-gtk.scm bug Ian Grant

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).