Re: adding deps to libgnomecanvas
- From: Michael Meeks <michael ximian com>
- To: Alex Larsson <alexl redhat com>
- Cc: <gnome-2-0-list gnome org>
- Subject: Re: adding deps to libgnomecanvas
- Date: Mon, 29 Oct 2001 17:36:17 -0500 (EST)
Hi Alex,
On Mon, 29 Oct 2001, Alex Larsson wrote:
> Do we really have to make GnomeCanvas depend on libglade? Could we not
> just add gnome_register_type_name() somewhere, and call
Not really as Tim says.
> gnome_register_type_name ("GnomeCanvas", gnome_canvas_get_type);
Just a:
void
gnome_canvas_init (void)
{
gnome_canvas_get_type ();
}
Would do - but as everyone knows registering types you don't need
is expensive, and init functions are evil :-) which is why the proposal is
not very pleasant in general.
Regards,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]