Convert hooks to C API in all things.

Derek Atkins warlord at cvs.gnucash.org
Sun Jun 12 19:33:28 EDT 2005


Log Message:
-----------
Convert hooks to C API in all things.

	* src/app-utils/hooks.scm:
	  remove most of the hooks code; use the C impl.
	* src/app-utils/prefs.scm: don't define the save-options-hook here
	* src/engine/gnc-hooks.[ch]:
	  Fix the actual implementation of the scheme callback
	  Make sure we call back with appropriate number of args
	* src/engine/gw-engine-spec.scm:
	  wrap the gnc-hooks APIs
	  define the old hooks as strings.
	* src/gnome-utils/gnc-menu-extensions.scm:
	  remove definition of add-extension-hook
	* various others:
	  remove call to run-c-hook, just use the run-dangers API

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash:
        ChangeLog
    gnucash/src/app-utils:
        hooks.scm
        prefs.scm
    gnucash/src/engine:
        gnc-hooks.c
        gw-engine-spec.scm
    gnucash/src/gnome-utils:
        gnc-menu-extensions.scm
    gnucash/src/report/report-gnome:
        report-gnome.scm
    gnucash/src/scm:
        main.scm


More information about the gnucash-patches mailing list