reordered and renamed functions to be consistent. Got rid of file-global

2008-09-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.[ch]: reordered and renamed
	functions to be consistent. Got rid of file-global "register_scripts"
	variable. Pass more "scheme *sc" pointers around to reduce usage
	or the global variable.

	* plug-ins/script-fu/script-fu-eval.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/script-fu/script-fu.c: changed accordingly.


svn path=/trunk/; revision=26928
This commit is contained in:
Michael Natterer
2008-09-11 18:00:18 +00:00
committed by Michael Natterer
parent af9817b466
commit c76db26367
7 changed files with 267 additions and 254 deletions

View File

@ -197,7 +197,7 @@ script_fu_run (const gchar *name,
}
if (param != NULL)
set_run_mode_constant ((GimpRunMode) param[0].data.d_int32);
ts_set_run_mode ((GimpRunMode) param[0].data.d_int32);
/* Load all of the available scripts */
script_fu_find_scripts (path);