Re: Widget #include cleanup



Leonard den Ottolander wrote:
Hi Roland,

On Mon, 2005-07-11 at 09:10, Roland Illig wrote:

background.c should include every header it uses directly. It uses do_refresh() from dialog.h directly. Therefore it should be in the #include list.


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.

Roland



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