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:

committed by
Michael Natterer

parent
af9817b466
commit
c76db26367
@ -627,7 +627,8 @@ script_fu_add_script (scheme *sc,
|
||||
}
|
||||
|
||||
pointer
|
||||
script_fu_add_menu (scheme *sc, pointer a)
|
||||
script_fu_add_menu (scheme *sc,
|
||||
pointer a)
|
||||
{
|
||||
SFScript *script;
|
||||
SFMenu *menu;
|
||||
@ -926,7 +927,7 @@ script_fu_script_proc (const gchar *name,
|
||||
{
|
||||
GimpRunMode run_mode = params[0].data.d_int32;
|
||||
|
||||
set_run_mode_constant (run_mode);
|
||||
ts_set_run_mode (run_mode);
|
||||
|
||||
switch (run_mode)
|
||||
{
|
||||
|
Reference in New Issue
Block a user