Re: Pluggable widgets II
- From: Tim Janik <timj gtk org>
- To: Tristan Van Berkom <tvb gnome org>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>, Damon Chaplin <damon karuna uklinux net>
- Subject: Re: Pluggable widgets II
- Date: Tue, 19 Dec 2006 23:22:14 +0100 (CET)
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]