diff options
author | John Emmas <johne53@tiscali.co.uk> | 2015-11-23 16:28:43 +0000 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2015-12-23 15:09:16 +0000 |
commit | bb520c26adf8da82d0f614dd3a18dbf5076e592d (patch) | |
tree | 1d19781201317fdc66cc882110bdd5c073d0a06e /templates | |
parent | 7eddc61a3059ae0c54f0f18bfb518859eef72830 (diff) |
Move the preprocessor directive GTKMM_ATKMM_ENABLED so it'll get #defined at an earlier stage
When building any program that uses Gtkmm (with Atkmm support) ALL modules need to agree about the status of GTKMM_ATKMM_ENABLED. Otherwise 'Gtk::Widget' can have different sizes in different modules. If that happens we can end up with all manner of inexplicable run-time crashes and hangs.
GTKMM_ATKMM_ENABLED gets #defined in 'gtkmmconfig.h'. So let's #include that file at the earliest possible opportunity (where we know it'll then have a consistent value for every compilation unit).
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions