don't register the XCF procedures with the PDB here...

2006-04-09  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf.c (xcf_init): don't register the XCF procedures
	with the PDB here...

	* app/plug-in/plug-ins.c (plug_ins_add_to_db): ... instead, don't
	special case internal procedures here so they get registered along
	with all other plug-in procedures.
This commit is contained in:
Michael Natterer
2006-04-09 10:24:05 +00:00
committed by Michael Natterer
parent 56ef76c444
commit 6a63d89809
4 changed files with 11 additions and 30 deletions

View File

@ -1,3 +1,12 @@
2006-04-09 Michael Natterer <mitch@gimp.org>
* app/xcf/xcf.c (xcf_init): don't register the XCF procedures
with the PDB here...
* app/plug-in/plug-ins.c (plug_ins_add_to_db): ... instead, don't
special case internal procedures here so they get registered along
with all other plug-in procedures.
2006-04-09 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-in-def.c (plug_in_def_set_mtime): set the mtime

View File

@ -875,20 +875,7 @@ plug_ins_add_to_db (Gimp *gimp,
{
GimpPlugInProcedure *proc = list->data;
if (GIMP_PROCEDURE (proc)->proc_type != GIMP_INTERNAL)
{
gimp_pdb_register (gimp, GIMP_PROCEDURE (proc));
}
else
{
g_printerr ("%s: NOT adding %s (prog = %s) to PDB\n",
G_STRFUNC, GIMP_OBJECT (proc)->name, proc->prog);
}
}
for (list = gimp->plug_in_procedures; list; list = list->next)
{
GimpPlugInProcedure *proc = list->data;
gimp_pdb_register (gimp, GIMP_PROCEDURE (proc));
if (proc->file_proc)
{

View File

@ -875,20 +875,7 @@ plug_ins_add_to_db (Gimp *gimp,
{
GimpPlugInProcedure *proc = list->data;
if (GIMP_PROCEDURE (proc)->proc_type != GIMP_INTERNAL)
{
gimp_pdb_register (gimp, GIMP_PROCEDURE (proc));
}
else
{
g_printerr ("%s: NOT adding %s (prog = %s) to PDB\n",
G_STRFUNC, GIMP_OBJECT (proc)->name, proc->prog);
}
}
for (list = gimp->plug_in_procedures; list; list = list->next)
{
GimpPlugInProcedure *proc = list->data;
gimp_pdb_register (gimp, GIMP_PROCEDURE (proc));
if (proc->file_proc)
{

View File

@ -200,7 +200,6 @@ xcf_init (Gimp *gimp)
"file, in UTF-8",
FALSE, FALSE, NULL,
GIMP_PARAM_READWRITE));
gimp_pdb_register (gimp, procedure);
plug_ins_add_internal (gimp, proc);
g_object_unref (procedure);
@ -262,7 +261,6 @@ xcf_init (Gimp *gimp)
"Output image",
gimp,
GIMP_PARAM_READWRITE));
gimp_pdb_register (gimp, procedure);
plug_ins_add_internal (gimp, proc);
g_object_unref (procedure);
}