Date: Fri, 10 Jun 2005 14:41:48 +0200 From: Stefano Zacchiroli To: lablgtk at math.nagoya-u.ac.jp Subject: Re: lablgtk2 patch for binding GtkSourceView Message-ID: <20050610124146.GA3833 at fistandantilus.takhisis.org> References: <20050610082723.GA32571 at cs.unibo.it> <20050610.212542.108303247.garrigue at math.nagoya-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050610.212542.108303247.garrigue at math.nagoya-u.ac.jp> On Fri, Jun 10, 2005 at 09:25:42PM +0900, Jacques Garrigue wrote: > > - I dropped obj from the Gtk.text_buffer type in order to be able to > > extend the variant type for inheritance > Seems that 90% of your patch is just for that. > But there's no real need for it: you can perfectly define > your own source_buffer = [`textbuffer|`sourcebuffer] obj, and it will > work fine. Yes, but then if in the future Gtk.text_buffer will be changed to include more variants I will have to modify lablgtksourceview accordingly. I don't know how likely is to such a change to happen, but still changint Gtk.text_buffer seems a more clean solution to me. Anyway as you wish: if you still prefer to keep Gtk.text_buffer as currently is just, let me know. Cheers. -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/ If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. -!-