Re: Widget #include cleanup
- From: Leonard den Ottolander <leonard den ottolander nl>
- To: MC Devel <mc-devel gnome org>
- Subject: Re: Widget #include cleanup
- Date: Mon, 11 Jul 2005 21:35:32 +0200
Hi Roland,
On Mon, 2005-07-11 at 10:39, Roland Illig wrote:
> > Why can't the #include's be chained?
>
> Some day wtools.h might be changed not to #include dialog.h anymore.
> Then you have to adjust the source again. So better do it now.
That is very unlikely. widget.h *totally* depends on dialog.h. Also from
the redeclaration of Dlg_head and WListbox in wtools.h it is obvious it
should have included widget.h from the beginning.
With this patch we have a situation where wtools.h includes widget.h
which includes dialog.h. A very obvious and rather unbreakable chain of
dependencies.
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]