On Tue, 19 Dec 2006, Tristan Van Berkom wrote: > On Tue, 2006-12-19 at 21:51 +0200, Paul Pogonyshev wrote: >> Tim Janik wrote: >>> here's a refined proposal for pluggable widgets [...] >> > > This isnt really a concern, just curious... > > g_factory_appoint (TYPE_BAR, TYPE_BAZ); > g_factory_appoint (TYPE_FOO, TYPE_BAR); > > g_factory_get_appointed (TYPE_FOO) == TYPE_BAZ ? > > On first thought, I would probably favour this behavior > (i.e. above statement evaluates TRUE), but more importantly > I was just raising that because I didnt see mention of it > before in the mails and I just think it should be clear in > docs etc :)
right, i'd not expect this to be a too common use case, but maybe i'll be proven wrong on this one. in any case, i think it makes sense to support repeated lookups for re-appointed types, provided some measurements are taken to prevent endless recursion ;) > Cheers, > -Tristan --- ciaoTJ _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list