Re: adding deps to libgnomecanvas

Tim Janik <timj gtk org> writes:
> On 26 Oct 2001, Havoc Pennington wrote:
> > 
> > Tim Janik <timj gtk org> writes:
> > > if this were taken as exemplary code, *every* library that
> > > contains gtk widgets other than gtk itself will have to
> > > have a hard libglade dependancy which is pretty unacaptable.
> > 
> > The correct fix is to have a libglade equivalent in GTK itself, but
> > that was rightly punted from 2.0.
> > 
> > libglade isn't large, I don't think it's hurting anything. It's maybe
> > 70K or so. If we only init the Glade module in libgnomecanvas lazily,
> > you only pay if you use it.
> ok, i'll hack to make that optional then.

People need to be able to depend on what functionality a library
exports. If you have libgnomecanvas compiled with an important feature
turned off, what happens when you later try to use an app that
requires said feature?

It may make sense for a custom embedded build. In that case you want
an explicit configure option --disable-glade though; I don't think you
ever want to silently build without libglade if libglade isn't found.


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