cleaned up the code and moved interface variables into a structure, thus

2000-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: cleaned up the code and
	moved interface variables into a structure, thus getting rid of
	most global variables. When a script is run, we now check that
	there's no Script-Fu interface active and fail silently if there
	is one. This is an ugly workaround for the fact that the script-fu
	interpreter can not handle multiple scripts at the same time.
	Sort of fixes bug #30665.

	While I was on it, I added proper error reporting for script-fu
	which should help significantly when debugging script-fus.

	* plug-ins/script-fu/script-fu.c: indentation and small cleanups.

	* plug-ins/script-fu/scripts/title-header.scm: fixed this script
	which had been broken for a long time.
This commit is contained in:
Sven Neumann
2000-11-08 14:35:50 +00:00
committed by Sven Neumann
parent af1f98dbe4
commit df466ed1dc
7 changed files with 1231 additions and 1000 deletions

File diff suppressed because it is too large Load Diff