Date: Fri, 5 Dec 2003 13:41:58 +0000 Cc: lablgtk at kaba.or.jp Subject: Re: The type of this expression, _[> `DELETE_EVENT ] GWindow.dialog, Message-ID: <20031205134158.GB21247 at redhat.com> References: <20031205110336.GA20159 at redhat.com> <16336.30123.811395.403050 at akasha.ijm.jussieu.fr> <20031205130533.GA21247 at redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031205130533.GA21247 at redhat.com> From: Richard Jones On Fri, Dec 05, 2003 at 01:05:33PM +0000, Richard Jones wrote: > let clear_vbox () = > List.iter vbox#remove vbox#children Right, sorry, my stupidity here. I was reregistering callbacks on the "Next" button on each page, forgetting that the old callbacks remain registered. So effectively pressing "Next" was firing off all the "Next callbacks" that had been previously registered. I've actually made this mistake before - it can be somewhat counter- intuitive at times that next#connect#clicked ~callback:... doesn't overwrite previous callbacks ... Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - improving website return on investment NET::FTPSERVER is a full-featured, secure, configurable, database-backed FTP server written in Perl: http://www.annexia.org/freeware/netftpserver/