This is the mail archive of the guile-gtk@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

test-gtk.scm bug


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)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]