Re: adding deps to libgnomecanvas



On Mon, 29 Oct 2001, Alex Larsson wrote:

> On Mon, 29 Oct 2001, James Henstridge wrote:
> 
> > As I said in private mail, in the case of GnomeCanvas, we don't need any 
> > widget construction routines specific to the canvas (the generic 
> > construction routine is used).  Because libglade can now handle 
> > arbitrary widget types that have been registered with the type system, a 
> > call to gnome_canvas_get_type() will be sufficient to construct canvas 
> > widgets.
> 
> Do we really have to make GnomeCanvas depend on libglade? Could we not 
> just add gnome_register_type_name() somewhere, and call
> 
>  gnome_register_type_name ("GnomeCanvas", gnome_canvas_get_type); 
> 
> In libgnomecanvas. This would store the typename in a table for libglade 
> to look up.
> 
> I'm pretty ignorant of this issue, please flame me if i'm totally on 
> crack.

you're not totaly on crack but a bit misinfomred ;)
as havoc said, such a thing needs to be in gtk some day, as
libgnomecanvas doesn't even depend on libgnome, so the above wouldn't
work.

> 
> / Alex 
> 

---
ciaoTJ




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