Re: Pluggable widgets II



Gustavo J. A. M. Carneiro wrote:
> On Ter, 2006-12-19 at 21:51 +0200, Paul Pogonyshev wrote:
> > Tim Janik wrote:
> > > here's a refined proposal for pluggable widgets [...]
> > 
> > Looks fine to me, except that I support the requested addition of
> > va_list version of g_factory_create().  Otherwise everything seems
> > good.
> 
>   I didn't propose a va_list version; that would be equally unusable for
> language bindings as there is no standard API to create va_lists.

Ah, indeed, sorry.  Than I'm in favor of _three_ constructor function,
similar to g_object_new(), g_object_new_valist() and g_object_newv().
Factory is really supposed as a different but similar way of creating
objects, so why not have similar constructor functions?

Paul



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]