renamed plug_in_progress_init() to plug_in_progress_start() so it matches
2003-01-20 Michael Natterer <mitch@gimp.org> * app/plug-in/plug-in-progress.[ch]: renamed plug_in_progress_init() to plug_in_progress_start() so it matches plug_in_progress_end(). Added g_return_if_fail() to all functions. * app/plug-in/plug-in.[ch]: plug_in_new(): require the passed path to be absolute. Removed plug_in_search_in_path(). Replaced some if(plug_in){...} by g_return_if_fail(plug_in!=NULL). Cleanup. * app/plug-in/plug-ins.c: plug_ins_def_add_from_rc(): refuse to add plug_in_defs with non-absolute paths (should never happen). Misc cleanup all over the place like s/GSList *tmp/GSList *list/. * app/plug-in/plug-in-params.c: cleanup. * tools/pdbgen/pdb/plug_in.pdb: changed accordingly. * app/pdb/plug_in_cmds.c: regenerated. * app/gui/brush-select.c * app/gui/gradient-select.c * app/gui/palette-select.c * app/gui/pattern-select.c: some code review & cleanup.
This commit is contained in:

committed by
Michael Natterer

parent
63e197b610
commit
d407244f7e
@ -34,9 +34,9 @@
|
||||
|
||||
|
||||
Argument *
|
||||
plug_in_params_to_args (GPParam *params,
|
||||
gint nparams,
|
||||
gboolean full_copy)
|
||||
plug_in_params_to_args (GPParam *params,
|
||||
gint nparams,
|
||||
gboolean full_copy)
|
||||
{
|
||||
Argument *args;
|
||||
gchar **stringarray;
|
||||
@ -368,7 +368,7 @@ plug_in_args_to_params (Argument *args,
|
||||
}
|
||||
|
||||
void
|
||||
plug_in_params_destroy (GPParam *params,
|
||||
plug_in_params_destroy (GPParam *params,
|
||||
gint nparams,
|
||||
gboolean full_destroy)
|
||||
{
|
||||
@ -442,8 +442,8 @@ plug_in_params_destroy (GPParam *params,
|
||||
|
||||
void
|
||||
plug_in_args_destroy (Argument *args,
|
||||
gint nargs,
|
||||
gboolean full_destroy)
|
||||
gint nargs,
|
||||
gboolean full_destroy)
|
||||
{
|
||||
if (full_destroy)
|
||||
{
|
||||
|
Reference in New Issue
Block a user