Re: Proposal for a collection API in glib

2008-07-18 Thread Mikkel Kamstrup Erlandsen
2008/7/18 Mikkel Kamstrup Erlandsen <[EMAIL PROTECTED]>: > 2008/7/17 Mikkel Kamstrup Erlandsen <[EMAIL PROTECTED]>: >> 2008/7/17 Havoc Pennington <[EMAIL PROTECTED]>: >>> Hi, >>> >>> Here are some alternate ideas, just brainstorming: >>> >>> 1) have an iterator concept in gobject-introspection and

Re: About GTK+ 3.0 and deprecated things

2008-07-18 Thread muppet
Hans Breuer wrote: > > Am 18.07.2008 15:32, Owen Taylor schrieb: >> I don't see the virtue of a gtk1-compat library... it's just shuffling >> non-maintainership around forever. > My attempt to a constructive answer is: just let the people who need the > compatibility keep gtk-2.x alive within the

Re: About GTK+ 3.0 and deprecated things

2008-07-18 Thread Hans Breuer
Am 18.07.2008 15:32, Owen Taylor schrieb: On Thu, 2008-07-17 at 13:15 +0200, Colin Leroy wrote: [...] The 1.x -> 2.0 change was painful for everyone who had an app that needed porting, however I find it pretty irrelevant in comparison to 2.x -> 3.0. Well, if no libgtk-compat is planned, it

Re: Proposal for a collection API in glib

2008-07-18 Thread Philip Van Hoof
On Fri, 2008-07-18 at 14:33 +0100, Gustavo J. A. M. Carneiro wrote: > On Thu, 2008-07-17 at 14:23 -0400, Havoc Pennington wrote: > At leas Philip's iterators would shift some of the burden of making APIs > bindings friendly into the library authors themselves, and contribute > for language binding

Re: Proposal for a collection API in glib

2008-07-18 Thread Sebastian Rittau
On Thu, Jul 17, 2008 at 05:51:24PM +0200, Philip Van Hoof wrote: > I would like to propose this API to go into glib/gio: > > http://live.gnome.org/IteratorsAPI I'd like to point to my comment on that page: Please make the Iterator interface derive from the Iterable interface, where the iterator(

Re: Proposal for a collection API in glib

2008-07-18 Thread Gustavo J. A. M. Carneiro
On Thu, 2008-07-17 at 14:23 -0400, Havoc Pennington wrote: > Hi, > > On Thu, Jul 17, 2008 at 2:06 PM, Philip Van Hoof <[EMAIL PROTECTED]> wrote: > > You could make a GLib.Iterator that uses gobject-introspection, but I > > don't think you want to make gobject-introspection the one thing > > everyb

Re: About GTK+ 3.0 and deprecated things

2008-07-18 Thread Owen Taylor
On Thu, 2008-07-17 at 13:15 +0200, Colin Leroy wrote: > On Thu, 17 Jul 2008 12:55:59 +0200, Mikael Hallendal wrote: > > Hi, > > > A suggestion that came up in the post-guadec discussions was to move > > deprecated widgets to libgtk3-compat instead of removing them. This > > means that applica

Re: Proposal for a collection API in glib

2008-07-18 Thread Jürg Billeter
Hi Havoc, On Thu, 2008-07-17 at 13:37 -0400, Havoc Pennington wrote: > 2) Another idea would be an equivalent to registering boxed types: > > g_iterator_type_register_static(const char *name, GBoxedCopyFunc > boxed_copy, GBoxedFreeFunc boxed_free, GIteratorNextFunc > iterator_next, GIteratorGetFu