Hi all, Just to let anyone working on the source code know, I've split up much of the MyApp struct from geany.h, and renamed it GeanyApp. Now only important fields are there.
Any plugins outside the project may be affected, but only minor changes (if any) will be necessary for compatibility. There is now a prefs field in the plugin API (see below).
Summary of changes:
New structs: * GeanyPrefs (prefs) in prefs.h for (most) Preferences dialog fields. * UIPrefs (ui_prefs) in ui_utils.h for non-Prefs dialog user interface related settings. * UIWidgets (ui_widgets) in ui_utils.h for less commonly used widgets such as menuitems and dialogs. * GeanyStatus (geany_status) in main.h for the various states the application can be in.
Some of the other MyApp fields were moved into EditorPrefs.
Any questions, just ask.
Revision log: http://geany.svn.sourceforge.net/viewvc/geany?view=rev&revision=1815
Regards, Nick