There are some #include dependencies in src/register that make it
depend on the particular GUI being compiled for.  E.g. recncell.c
includes ui-callbacks.h which in turn needs the type for gncUIWidget.

I think this is bad.  The register should be completely agnostic about
the GUI and a good way to make sure that stays the case is to have it
not include any GUI headers at all.

I've already removed the GUI dependent stuff from include/gnc-common.h
and stuck it into a new gnc-guitypes.h file.  Should I continue along
these lines or do others think it is unecessary?
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body

Reply via email to