To: lablgtk at kaba.or.jp Subject: Re: Ocaml and Glade the third ;-( References: <20040528.124616.71805080.oandrieu at nerim.net> <87isefzrdg.fsf@fbigm.here> <87pt7zd18m.fsf_-_@fbigm.here> <20040616.175853.31639225.andrieu@ijm.jussieu.fr> From: Friedrich Dominicus Organization: Q Software Solutions GmbH Date: Wed, 16 Jun 2004 18:20:12 +0200 In-Reply-To: <20040616.175853.31639225.andrieu at ijm.jussieu.fr> (Olivier Andrieu's message of "Wed, 16 Jun 2004 17:58:53 +0200 (CEST)") Message-ID: <87oenjbhkz.fsf at fbigm.here> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Olivier Andrieu writes: > That's because #append_column returns an int (the number of the column > in the view). So now the expression in your initializer has type int > whereas it should be of type unit. Just add a () at the end. Ah I see, the problem was that I checked what types were involved but and there the return value from make-view was ok. I did not check the return value from append Sometimes it's hard to be a programmer ;-) Thanks Friedrich