Commit a184c909 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

app/pdb/Makefile.am app/pdb/procedural_db.[ch] removed...

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

	* app/pdb/Makefile.am
	* app/pdb/procedural_db.[ch]
	* app/pdb/procedural-db-query.[ch]: removed...

	* app/pdb/gimp-pdb.[ch]
	* app/pdb/gimp-pdb-query.[ch]: ...and added namespacefied.

	* app/batch.c
	* app/actions/vectors-commands.c
	* app/core/gimp.c
	* app/core/gimppdbprogress.c
	* app/dialogs/about-dialog.c
	* app/file/file-open.c
	* app/file/file-save.c
	* app/file/file-utils.c
	* app/plug-in/plug-in-message.c
	* app/plug-in/plug-in-params.c
	* app/plug-in/plug-in-proc-def.c
	* app/plug-in/plug-in-progress.c
	* app/plug-in/plug-ins-query.c
	* app/plug-in/plug-ins.c
	* app/widgets/gimpbrushselect.c
	* app/widgets/gimpfiledialog.c
	* app/widgets/gimpfontselect.c
	* app/widgets/gimpgradientselect.c
	* app/widgets/gimphelp.c
	* app/widgets/gimppaletteselect.c
	* app/widgets/gimppatternselect.c
	* app/widgets/gimppdbdialog.c
	* app/xcf/xcf.c
	* tools/pdbgen/app.pl
	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/font_select.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/palette_select.pdb
	* tools/pdbgen/pdb/pattern_select.pdb
	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly.

	* app/pdb/*_cmds.c: regenerated.
parent c7943a28
2006-04-04 Michael Natterer <mitch@gimp.org>
* app/pdb/Makefile.am
* app/pdb/procedural_db.[ch]
* app/pdb/procedural-db-query.[ch]: removed...
* app/pdb/gimp-pdb.[ch]
* app/pdb/gimp-pdb-query.[ch]: ...and added namespacefied.
* app/batch.c
* app/actions/vectors-commands.c
* app/core/gimp.c
* app/core/gimppdbprogress.c
* app/dialogs/about-dialog.c
* app/file/file-open.c
* app/file/file-save.c
* app/file/file-utils.c
* app/plug-in/plug-in-message.c
* app/plug-in/plug-in-params.c
* app/plug-in/plug-in-proc-def.c
* app/plug-in/plug-in-progress.c
* app/plug-in/plug-ins-query.c
* app/plug-in/plug-ins.c
* app/widgets/gimpbrushselect.c
* app/widgets/gimpfiledialog.c
* app/widgets/gimpfontselect.c
* app/widgets/gimpgradientselect.c
* app/widgets/gimphelp.c
* app/widgets/gimppaletteselect.c
* app/widgets/gimppatternselect.c
* app/widgets/gimppdbdialog.c
* app/xcf/xcf.c
* tools/pdbgen/app.pl
* tools/pdbgen/pdb/brush_select.pdb
* tools/pdbgen/pdb/fileops.pdb
* tools/pdbgen/pdb/font_select.pdb
* tools/pdbgen/pdb/gradient_select.pdb
* tools/pdbgen/pdb/palette_select.pdb
* tools/pdbgen/pdb/pattern_select.pdb
* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly.
* app/pdb/*_cmds.c: regenerated.
2006-04-04 Michael Natterer <mitch@gimp.org>
* app/pdb/Makefile.am
......
......@@ -40,8 +40,8 @@
#include "core/gimpstrokedesc.h"
#include "core/gimptoolinfo.h"
#include "pdb/gimp-pdb.h"
#include "pdb/gimpprocedure.h"
#include "pdb/procedural_db.h"
#include "plug-in/plug-in-run.h"
......@@ -317,11 +317,9 @@ vectors_selection_to_vectors_cmd_callback (GtkAction *action,
return_if_no_image (image, data);
if (value)
procedure = procedural_db_lookup (image->gimp,
"plug-in-sel2path-advanced");
procedure = gimp_pdb_lookup (image->gimp, "plug-in-sel2path-advanced");
else
procedure = procedural_db_lookup (image->gimp,
"plug-in-sel2path");
procedure = gimp_pdb_lookup (image->gimp, "plug-in-sel2path");
if (! procedure)
{
......
......@@ -31,8 +31,8 @@
#include "batch.h"
#include "pdb/gimp-pdb.h"
#include "pdb/gimpprocedure.h"
#include "pdb/procedural_db.h"
#include "gimp-intl.h"
......@@ -77,7 +77,7 @@ batch_run (Gimp *gimp,
strcmp (batch_commands[0], "-") == 0)
{
const gchar *proc_name = "plug-in-script-fu-text-console";
GimpProcedure *procedure = procedural_db_lookup (gimp, proc_name);
GimpProcedure *procedure = gimp_pdb_lookup (gimp, proc_name);
if (procedure)
batch_run_cmd (gimp, proc_name, procedure,
......@@ -88,7 +88,7 @@ batch_run (Gimp *gimp,
}
else
{
GimpProcedure *eval_proc = procedural_db_lookup (gimp, batch_interpreter);
GimpProcedure *eval_proc = gimp_pdb_lookup (gimp, batch_interpreter);
if (eval_proc)
{
......@@ -140,10 +140,8 @@ batch_run_cmd (Gimp *gimp,
if (procedure->num_args > 1)
g_value_set_static_string (&args->values[1], cmd);
return_vals = procedural_db_execute (gimp,
gimp_get_user_context (gimp), NULL,
proc_name,
args);
return_vals = gimp_pdb_execute (gimp, gimp_get_user_context (gimp), NULL,
proc_name, args);
switch (g_value_get_enum (&return_vals->values[0]))
{
......
......@@ -29,7 +29,7 @@
#include "config/gimprc.h"
#include "pdb/procedural_db.h"
#include "pdb/gimp-pdb.h"
#include "plug-in/plug-ins.h"
......@@ -234,7 +234,7 @@ gimp_init (Gimp *gimp)
gimp->gradient_factory = NULL;
gimp->palette_factory = NULL;
procedural_db_init (gimp);
gimp_pdb_init (gimp);
gimp->load_procs = NULL;
gimp->save_procs = NULL;
......@@ -325,7 +325,7 @@ gimp_finalize (GObject *object)
xcf_exit (gimp);
procedural_db_free (gimp);
gimp_pdb_exit (gimp);
if (gimp->load_procs)
{
......@@ -608,7 +608,7 @@ gimp_real_initialize (Gimp *gimp,
/* register all internal procedures */
status_callback (NULL,_("Internal Procedures"), 0.2);
procedural_db_init_procs (gimp);
gimp_pdb_init_procs (gimp);
status_callback (NULL, _("Plug-In Interpreters"), 0.8);
......
......@@ -29,7 +29,7 @@
#include "core/gimpcontext.h"
#include "pdb/procedural_db.h"
#include "pdb/gimp-pdb.h"
#include "gimpparamspecs.h"
#include "gimppdbprogress.h"
......@@ -249,14 +249,14 @@ gimp_pdb_progress_run_callback (GimpPdbProgress *progress,
progress->callback_busy = TRUE;
return_vals = procedural_db_run_proc (progress->context->gimp,
progress->context,
NULL,
progress->callback_name,
GIMP_TYPE_INT32, command,
G_TYPE_STRING, text,
G_TYPE_DOUBLE, value,
G_TYPE_NONE);
return_vals = gimp_pdb_run_proc (progress->context->gimp,
progress->context,
NULL,
progress->callback_name,
GIMP_TYPE_INT32, command,
G_TYPE_STRING, text,
G_TYPE_DOUBLE, value,
G_TYPE_NONE);
if (g_value_get_enum (&return_vals->values[0]) != GIMP_PDB_SUCCESS)
{
......
......@@ -29,7 +29,7 @@
#include "core/gimpcontext.h"
#include "pdb/procedural_db.h"
#include "pdb/gimp-pdb.h"
#include "about.h"
......@@ -103,7 +103,7 @@ about_dialog_create (GimpContext *context)
GList *children;
GdkModifierType mask;
if (procedural_db_lookup (context->gimp, PDB_URL_LOAD))
if (gimp_pdb_lookup (context->gimp, PDB_URL_LOAD))
gtk_about_dialog_set_url_hook (about_dialog_load_url,
g_object_ref (context),
(GDestroyNotify) g_object_unref);
......@@ -217,10 +217,10 @@ about_dialog_load_url (GtkAboutDialog *dialog,
GimpContext *context = GIMP_CONTEXT (data);
GValueArray *return_vals;
return_vals = procedural_db_run_proc (context->gimp, context, NULL,
PDB_URL_LOAD,
G_TYPE_STRING, url,
G_TYPE_NONE);
return_vals = gimp_pdb_run_proc (context->gimp, context, NULL,
PDB_URL_LOAD,
G_TYPE_STRING, url,
G_TYPE_NONE);
g_value_array_free (return_vals);
}
......
......@@ -56,8 +56,8 @@
#include "core/gimpparamspecs.h"
#include "core/gimpprogress.h"
#include "pdb/gimp-pdb.h"
#include "pdb/gimpprocedure.h"
#include "pdb/procedural_db.h"
#include "plug-in/plug-in.h"
#include "plug-in/plug-in-proc-def.h"
......@@ -137,12 +137,12 @@ file_open_image (Gimp *gimp,
filename = g_strdup (uri);
}
return_vals = procedural_db_run_proc (gimp, context, progress,
file_proc->procedure->name,
GIMP_TYPE_INT32, run_mode,
G_TYPE_STRING, filename,
G_TYPE_STRING, entered_filename,
G_TYPE_NONE);
return_vals = gimp_pdb_run_proc (gimp, context, progress,
file_proc->procedure->name,
GIMP_TYPE_INT32, run_mode,
G_TYPE_STRING, filename,
G_TYPE_STRING, entered_filename,
G_TYPE_NONE);
g_free (filename);
......@@ -207,7 +207,7 @@ file_open_thumbnail (Gimp *gimp,
if (! file_proc || ! file_proc->thumb_loader)
return NULL;
procedure = procedural_db_lookup (gimp, file_proc->thumb_loader);
procedure = gimp_pdb_lookup (gimp, file_proc->thumb_loader);
if (procedure && procedure->num_args >= 2 && procedure->num_values >= 1)
{
......@@ -221,11 +221,11 @@ file_open_thumbnail (Gimp *gimp,
if (! filename)
filename = g_strdup (uri);
return_vals = procedural_db_run_proc (gimp, context, progress,
procedure->name,
G_TYPE_STRING, filename,
GIMP_TYPE_INT32, size,
G_TYPE_NONE);
return_vals = gimp_pdb_run_proc (gimp, context, progress,
procedure->name,
G_TYPE_STRING, filename,
GIMP_TYPE_INT32, size,
G_TYPE_NONE);
g_free (filename);
......
......@@ -54,8 +54,8 @@
#include "core/gimpparamspecs.h"
#include "core/gimpprogress.h"
#include "pdb/gimp-pdb.h"
#include "pdb/gimpprocedure.h"
#include "pdb/procedural_db.h"
#include "plug-in/plug-in.h"
#include "plug-in/plug-in-proc-def.h"
......@@ -127,15 +127,14 @@ file_save (GimpImage *image,
/* ref the image, so it can't get deleted during save */
g_object_ref (image);
return_vals =
procedural_db_run_proc (image->gimp, context, progress,
file_proc->procedure->name,
GIMP_TYPE_INT32, run_mode,
GIMP_TYPE_IMAGE_ID, gimp_image_get_ID (image),
GIMP_TYPE_DRAWABLE_ID, gimp_item_get_ID (GIMP_ITEM (gimp_image_active_drawable (image))),
G_TYPE_STRING, filename,
G_TYPE_STRING, uri,
G_TYPE_NONE);
return_vals = gimp_pdb_run_proc (image->gimp, context, progress,
file_proc->procedure->name,
GIMP_TYPE_INT32, run_mode,
GIMP_TYPE_IMAGE_ID, gimp_image_get_ID (image),
GIMP_TYPE_DRAWABLE_ID, gimp_item_get_ID (GIMP_ITEM (gimp_image_active_drawable (image))),
G_TYPE_STRING, filename,
G_TYPE_STRING, uri,
G_TYPE_NONE);
status = g_value_get_enum (&return_vals->values[0]);
......
......@@ -44,8 +44,6 @@
#include "core/gimp.h"
#include "core/gimpimage.h"
#include "pdb/procedural_db.h"
#include "plug-in/plug-in.h"
#include "plug-in/plug-in-proc-def.h"
......
......@@ -5,16 +5,15 @@ noinst_LIBRARIES = libapppdb.a
libapppdb_a_SOURCES = \
pdb-types.h \
\
gimp-pdb.c \
gimp-pdb.h \
gimp-pdb-compat.c \
gimp-pdb-compat.h \
gimp-pdb-query.c \
gimp-pdb-query.h \
gimpprocedure.c \
gimpprocedure.h \
\
procedural_db.c \
procedural_db.h \
procedural-db-query.c \
procedural-db-query.h \
\
internal_procs.c \
internal_procs.h \
brush_cmds.c \
......
......@@ -25,8 +25,8 @@
#include <glib-object.h>
#include "pdb-types.h"
#include "gimp-pdb.h"
#include "gimpprocedure.h"
#include "procedural_db.h"
#include "core/gimpparamspecs.h"
#include "base/temp-buf.h"
......@@ -83,7 +83,7 @@ register_brush_procs (Gimp *gimp)
FALSE, FALSE,
NULL,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_duplicate
......@@ -103,7 +103,7 @@ register_brush_procs (Gimp *gimp)
FALSE, FALSE,
NULL,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_is_generated
......@@ -122,7 +122,7 @@ register_brush_procs (Gimp *gimp)
"TRUE if the brush is generated",
FALSE,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_rename
......@@ -149,7 +149,7 @@ register_brush_procs (Gimp *gimp)
FALSE, FALSE,
NULL,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_delete
......@@ -162,7 +162,7 @@ register_brush_procs (Gimp *gimp)
FALSE, FALSE,
NULL,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_is_editable
......@@ -181,7 +181,7 @@ register_brush_procs (Gimp *gimp)
"TRUE if the brush can be edited",
FALSE,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_get_info
......@@ -218,7 +218,7 @@ register_brush_procs (Gimp *gimp)
"The brush color bpp",
G_MININT32, G_MAXINT32, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_get_pixels
......@@ -277,7 +277,7 @@ register_brush_procs (Gimp *gimp)
"color bytes",
"The brush color data",
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_get_spacing
......@@ -296,7 +296,7 @@ register_brush_procs (Gimp *gimp)
"The brush spacing (0 <= spacing <= 1000)",
0, 1000, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_set_spacing
......@@ -315,7 +315,7 @@ register_brush_procs (Gimp *gimp)
"The brush spacing (0 <= spacing <= 1000)",
0, 1000, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_get_shape
......@@ -335,7 +335,7 @@ register_brush_procs (Gimp *gimp)
GIMP_TYPE_BRUSH_GENERATED_SHAPE,
GIMP_BRUSH_GENERATED_CIRCLE,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_get_radius
......@@ -354,7 +354,7 @@ register_brush_procs (Gimp *gimp)
"The radius of the brush in pixels",
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_get_spikes
......@@ -373,7 +373,7 @@ register_brush_procs (Gimp *gimp)
"The number of spikes on the brush.",
G_MININT32, G_MAXINT32, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_get_hardness
......@@ -392,7 +392,7 @@ register_brush_procs (Gimp *gimp)
"The hardness of the brush.",
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_get_aspect_ratio
......@@ -411,7 +411,7 @@ register_brush_procs (Gimp *gimp)
"The aspect ratio of the brush.",
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_get_angle
......@@ -430,7 +430,7 @@ register_brush_procs (Gimp *gimp)
"The rotation angle of the brush.",
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_set_shape
......@@ -457,7 +457,7 @@ register_brush_procs (Gimp *gimp)
GIMP_TYPE_BRUSH_GENERATED_SHAPE,
GIMP_BRUSH_GENERATED_CIRCLE,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_set_radius
......@@ -482,7 +482,7 @@ register_brush_procs (Gimp *gimp)
"The brush radius actually assigned",
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_set_spikes
......@@ -507,7 +507,7 @@ register_brush_procs (Gimp *gimp)
"The number of spikes actually assigned",
G_MININT32, G_MAXINT32, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_set_hardness
......@@ -532,7 +532,7 @@ register_brush_procs (Gimp *gimp)
"The brush hardness actually assigned",
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_set_aspect_ratio
......@@ -557,7 +557,7 @@ register_brush_procs (Gimp *gimp)
"The brush aspect ratio actually assigned",
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brush_set_angle
......@@ -582,7 +582,7 @@ register_brush_procs (Gimp *gimp)
"The brush rotation angle actually assigned",
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
}
......
......@@ -24,8 +24,8 @@
#include <glib-object.h>
#include "pdb-types.h"
#include "gimp-pdb.h"
#include "gimpprocedure.h"
#include "procedural_db.h"
#include "core/gimpparamspecs.h"
#include "core/gimp.h"
......@@ -84,7 +84,7 @@ register_brush_select_procs (Gimp *gimp)
GIMP_TYPE_LAYER_MODE_EFFECTS,
GIMP_NORMAL_MODE,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brushes_close_popup
......@@ -97,7 +97,7 @@ register_brush_select_procs (Gimp *gimp)
FALSE, FALSE,
NULL,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brushes_set_popup
......@@ -136,7 +136,7 @@ register_brush_select_procs (Gimp *gimp)
GIMP_TYPE_LAYER_MODE_EFFECTS,
GIMP_NORMAL_MODE,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
}
......@@ -165,7 +165,7 @@ brushes_popup_invoker (GimpProcedure *procedure,
if (success)
{
if (gimp->no_interface ||
! procedural_db_lookup (gimp, brush_callback) ||
! gimp_pdb_lookup (gimp, brush_callback) ||
! gimp_pdb_dialog_new (gimp, context, gimp->brush_factory->container,
popup_title, brush_callback, initial_brush,
"opacity", opacity / 100.0,
......@@ -209,7 +209,7 @@ brushes_close_popup_invoker (GimpProcedure *procedure,
if (success)
{
if (gimp->no_interface ||
! procedural_db_lookup (gimp, brush_callback) ||
! gimp_pdb_lookup (gimp, brush_callback) ||
! gimp_pdb_dialog_close (gimp, gimp->brush_factory->container,
brush_callback))
success = FALSE;
......@@ -257,7 +257,7 @@ brushes_set_popup_invoker (GimpProcedure *procedure,
if (success)
{
if (gimp->no_interface ||
! procedural_db_lookup (gimp, brush_callback) ||
! gimp_pdb_lookup (gimp, brush_callback) ||
! gimp_pdb_dialog_set (gimp, gimp->brush_factory->container,
brush_callback, brush_name,
"opacity", opacity / 100.0,
......
......@@ -25,8 +25,8 @@
#include <glib-object.h>
#include "pdb-types.h"
#include "gimp-pdb.h"
#include "gimpprocedure.h"
#include "procedural_db.h"
#include "core/gimpparamspecs.h"
#include "base/temp-buf.h"
......@@ -53,7 +53,7 @@ register_brushes_procs (Gimp *gimp)
* brushes_refresh
*/
procedure = gimp_procedure_init (&brushes_refresh_proc, 0, 0);
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brushes_get_list
......@@ -77,7 +77,7 @@ register_brushes_procs (Gimp *gimp)
"brush list",
"The list of brush names",
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brushes_get_brush
......@@ -108,7 +108,7 @@ register_brushes_procs (Gimp *gimp)
"The brush spacing (0 <= spacing <= 1000)",
0, 1000, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brushes_get_spacing
......@@ -120,7 +120,7 @@ register_brushes_procs (Gimp *gimp)
"The brush spacing (0 <= spacing <= 1000)",
0, 1000, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brushes_set_spacing
......@@ -132,7 +132,7 @@ register_brushes_procs (Gimp *gimp)
"The brush spacing (0 <= spacing <= 1000)",
0, 1000, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* brushes_get_brush_data
......@@ -194,7 +194,7 @@ register_brushes_procs (Gimp *gimp)
"mask data",
"The brush mask data",
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
}
......
......@@ -25,8 +25,8 @@
#include <glib-object.h>
#include "pdb-types.h"
#include "gimp-pdb.h"
#include "gimpprocedure.h"
#include "procedural_db.h"
#include "core/gimpparamspecs.h"
#include "core/gimp.h"
......@@ -70,7 +70,7 @@ register_buffer_procs (Gimp *gimp)
"buffer list",
"The list of buffer names",
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* buffer_rename
......@@ -97,7 +97,7 @@ register_buffer_procs (Gimp *gimp)
FALSE, FALSE,
NULL,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* buffer_delete
......@@ -110,7 +110,7 @@ register_buffer_procs (Gimp *gimp)
FALSE, FALSE,
NULL,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* buffer_get_width
......@@ -129,7 +129,7 @@ register_buffer_procs (Gimp *gimp)
"The buffer width",
G_MININT32, G_MAXINT32, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* buffer_get_height
......@@ -148,7 +148,7 @@ register_buffer_procs (Gimp *gimp)
"The buffer height",
G_MININT32, G_MAXINT32, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* buffer_get_bytes
......@@ -167,7 +167,7 @@ register_buffer_procs (Gimp *gimp)
"The buffer bpp",
G_MININT32, G_MAXINT32, 0,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
/*
* buffer_get_image_type
......@@ -187,7 +187,7 @@ register_buffer_procs (Gimp *gimp)
GIMP_TYPE_IMAGE_BASE_TYPE,
GIMP_RGB,
GIMP_PARAM_READWRITE));
procedural_db_register (gimp, procedure);
gimp_pdb_register (gimp, procedure);
}
......
......@@ -26,8 +26,8 @@
#include "libgimpcolor/gimpcolor.h"
#include "pdb-types.h"
#include "gimp-pdb.h"
#include "gimpprocedure.h"