libgimp, pdb: make gimp_pdb_run_procedure_array() internal.

Apart from all regenerated PDB files, this commit fixes the few manual usages in
libgimp too.
This commit is contained in:
Jehan 2023-10-16 22:07:55 +02:00
parent 70438028aa
commit 475dafcee4
59 changed files with 2157 additions and 2155 deletions

View File

@ -704,7 +704,6 @@ EXPORTS
gimp_pdb_procedure_exists
gimp_pdb_query_procedures
gimp_pdb_run_procedure
gimp_pdb_run_procedure_array
gimp_pdb_run_procedure_config
gimp_pdb_run_procedure_valist
gimp_pdb_set_data

View File

@ -61,9 +61,9 @@ gimp_version (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-version",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-version",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -95,9 +95,9 @@ gimp_getpid (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-getpid",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-getpid",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -131,9 +131,9 @@ gimp_attach_parasite (const GimpParasite *parasite)
GIMP_TYPE_PARASITE, parasite,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-attach-parasite",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-attach-parasite",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -167,9 +167,9 @@ gimp_detach_parasite (const gchar *name)
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-detach-parasite",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-detach-parasite",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -202,9 +202,9 @@ gimp_get_parasite (const gchar *name)
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-parasite",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-parasite",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -238,9 +238,9 @@ gimp_get_parasite_list (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-parasite-list",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-parasite-list",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -273,9 +273,9 @@ gimp_temp_file (const gchar *extension)
G_TYPE_STRING, extension,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-temp-file",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-temp-file",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -59,9 +59,9 @@ gimp_brush_new (const gchar *name)
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-new",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-new",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -96,9 +96,9 @@ gimp_brush_get_by_name (const gchar *name)
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-by-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-by-name",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -132,9 +132,9 @@ gimp_brush_is_generated (GimpBrush *brush)
GIMP_TYPE_BRUSH, brush,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-is-generated",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-is-generated",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -178,9 +178,9 @@ gimp_brush_get_info (GimpBrush *brush,
GIMP_TYPE_BRUSH, brush,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-info",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-info",
args);
gimp_value_array_unref (args);
*width = 0;
@ -240,9 +240,9 @@ _gimp_brush_get_pixels (GimpBrush *brush,
GIMP_TYPE_BRUSH, brush,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-pixels",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-pixels",
args);
gimp_value_array_unref (args);
*width = 0;
@ -295,9 +295,9 @@ gimp_brush_get_spacing (GimpBrush *brush)
GIMP_TYPE_BRUSH, brush,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-spacing",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-spacing",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -337,9 +337,9 @@ gimp_brush_set_spacing (GimpBrush *brush,
G_TYPE_INT, spacing,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-spacing",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-spacing",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -378,9 +378,9 @@ gimp_brush_get_shape (GimpBrush *brush,
GIMP_TYPE_BRUSH, brush,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-shape",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-shape",
args);
gimp_value_array_unref (args);
*shape = 0;
@ -426,9 +426,9 @@ gimp_brush_set_shape (GimpBrush *brush,
GIMP_TYPE_BRUSH_GENERATED_SHAPE, shape_in,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-shape",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-shape",
args);
gimp_value_array_unref (args);
*shape_out = 0;
@ -469,9 +469,9 @@ gimp_brush_get_radius (GimpBrush *brush,
GIMP_TYPE_BRUSH, brush,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-radius",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-radius",
args);
gimp_value_array_unref (args);
*radius = 0.0;
@ -516,9 +516,9 @@ gimp_brush_set_radius (GimpBrush *brush,
G_TYPE_DOUBLE, radius_in,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-radius",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-radius",
args);
gimp_value_array_unref (args);
*radius_out = 0.0;
@ -559,9 +559,9 @@ gimp_brush_get_spikes (GimpBrush *brush,
GIMP_TYPE_BRUSH, brush,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-spikes",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-spikes",
args);
gimp_value_array_unref (args);
*spikes = 0;
@ -606,9 +606,9 @@ gimp_brush_set_spikes (GimpBrush *brush,
G_TYPE_INT, spikes_in,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-spikes",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-spikes",
args);
gimp_value_array_unref (args);
*spikes_out = 0;
@ -651,9 +651,9 @@ gimp_brush_get_hardness (GimpBrush *brush,
GIMP_TYPE_BRUSH, brush,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-hardness",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-hardness",
args);
gimp_value_array_unref (args);
*hardness = 0.0;
@ -698,9 +698,9 @@ gimp_brush_set_hardness (GimpBrush *brush,
G_TYPE_DOUBLE, hardness_in,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-hardness",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-hardness",
args);
gimp_value_array_unref (args);
*hardness_out = 0.0;
@ -742,9 +742,9 @@ gimp_brush_get_aspect_ratio (GimpBrush *brush,
GIMP_TYPE_BRUSH, brush,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-aspect-ratio",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-aspect-ratio",
args);
gimp_value_array_unref (args);
*aspect_ratio = 0.0;
@ -789,9 +789,9 @@ gimp_brush_set_aspect_ratio (GimpBrush *brush,
G_TYPE_DOUBLE, aspect_ratio_in,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-aspect-ratio",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-aspect-ratio",
args);
gimp_value_array_unref (args);
*aspect_ratio_out = 0.0;
@ -832,9 +832,9 @@ gimp_brush_get_angle (GimpBrush *brush,
GIMP_TYPE_BRUSH, brush,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-angle",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-get-angle",
args);
gimp_value_array_unref (args);
*angle = 0.0;
@ -879,9 +879,9 @@ gimp_brush_set_angle (GimpBrush *brush,
G_TYPE_DOUBLE, angle_in,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-angle",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brush-set-angle",
args);
gimp_value_array_unref (args);
*angle_out = 0.0;

View File

@ -56,9 +56,9 @@ gimp_brushes_refresh (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brushes-refresh",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brushes-refresh",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -92,9 +92,9 @@ gimp_brushes_get_list (const gchar *filter)
G_TYPE_STRING, filter,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brushes-get-list",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brushes-get-list",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -67,9 +67,9 @@ gimp_brushes_popup (const gchar *brush_callback,
G_TYPE_BYTES, parent_window,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brushes-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brushes-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -100,9 +100,9 @@ gimp_brushes_close_popup (const gchar *brush_callback)
G_TYPE_STRING, brush_callback,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brushes-close-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brushes-close-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -136,9 +136,9 @@ gimp_brushes_set_popup (const gchar *brush_callback,
GIMP_TYPE_BRUSH, brush,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brushes-set-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-brushes-set-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -62,9 +62,9 @@ gimp_buffers_get_list (const gchar *filter)
G_TYPE_STRING, filter,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffers-get-list",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffers-get-list",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -102,9 +102,9 @@ gimp_buffer_rename (const gchar *buffer_name,
G_TYPE_STRING, new_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffer-rename",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffer-rename",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -138,9 +138,9 @@ gimp_buffer_delete (const gchar *buffer_name)
G_TYPE_STRING, buffer_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffer-delete",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffer-delete",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -173,9 +173,9 @@ gimp_buffer_get_width (const gchar *buffer_name)
G_TYPE_STRING, buffer_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffer-get-width",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffer-get-width",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -209,9 +209,9 @@ gimp_buffer_get_height (const gchar *buffer_name)
G_TYPE_STRING, buffer_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffer-get-height",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffer-get-height",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -245,9 +245,9 @@ gimp_buffer_get_bytes (const gchar *buffer_name)
G_TYPE_STRING, buffer_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffer-get-bytes",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffer-get-bytes",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -281,9 +281,9 @@ gimp_buffer_get_image_type (const gchar *buffer_name)
G_TYPE_STRING, buffer_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffer-get-image-type",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-buffer-get-image-type",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -78,9 +78,9 @@ _gimp_channel_new (GimpImage *image,
GIMP_TYPE_RGB, color,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-new",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-new",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -124,9 +124,9 @@ gimp_channel_new_from_component (GimpImage *image,
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-new-from-component",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-new-from-component",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -160,9 +160,9 @@ gimp_channel_copy (GimpChannel *channel)
GIMP_TYPE_CHANNEL, channel,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-copy",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-copy",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -207,9 +207,9 @@ gimp_channel_combine_masks (GimpChannel *channel1,
G_TYPE_INT, offy,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-combine-masks",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-combine-masks",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -242,9 +242,9 @@ gimp_channel_get_show_masked (GimpChannel *channel)
GIMP_TYPE_CHANNEL, channel,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-get-show-masked",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-get-show-masked",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -281,9 +281,9 @@ gimp_channel_set_show_masked (GimpChannel *channel,
G_TYPE_BOOLEAN, show_masked,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-set-show-masked",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-set-show-masked",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -314,9 +314,9 @@ gimp_channel_get_opacity (GimpChannel *channel)
GIMP_TYPE_CHANNEL, channel,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-get-opacity",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-get-opacity",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -351,9 +351,9 @@ gimp_channel_set_opacity (GimpChannel *channel,
G_TYPE_DOUBLE, opacity,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-set-opacity",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-set-opacity",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -386,9 +386,9 @@ gimp_channel_get_color (GimpChannel *channel,
GIMP_TYPE_CHANNEL, channel,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-get-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-get-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -425,9 +425,9 @@ gimp_channel_set_color (GimpChannel *channel,
GIMP_TYPE_RGB, color,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-set-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-channel-set-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

File diff suppressed because it is too large Load Diff

View File

@ -63,9 +63,9 @@ gimp_debug_timer_start (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-debug-timer-start",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-debug-timer-start",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -101,9 +101,9 @@ gimp_debug_timer_end (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-debug-timer-end",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-debug-timer-end",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -60,9 +60,9 @@ gimp_display_id_is_valid (gint display_id)
G_TYPE_INT, display_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-display-id-is-valid",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-display-id-is-valid",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -99,9 +99,9 @@ gimp_display_new (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-display-new",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-display-new",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -137,9 +137,9 @@ gimp_display_delete (GimpDisplay *display)
GIMP_TYPE_DISPLAY, display,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-display-delete",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-display-delete",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -178,9 +178,9 @@ gimp_display_get_window_handle (GimpDisplay *display)
GIMP_TYPE_DISPLAY, display,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-display-get-window-handle",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-display-get-window-handle",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -215,9 +215,9 @@ gimp_display_present (GimpDisplay *display)
GIMP_TYPE_DISPLAY, display,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-display-present",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-display-present",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -249,9 +249,9 @@ gimp_displays_flush (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-displays-flush",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-displays-flush",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -288,9 +288,9 @@ gimp_displays_reconnect (GimpImage *old_image,
GIMP_TYPE_IMAGE, new_image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-displays-reconnect",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-displays-reconnect",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -63,9 +63,9 @@ _gimp_drawable_get_format (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-get-format",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-get-format",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -102,9 +102,9 @@ _gimp_drawable_get_thumbnail_format (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-get-thumbnail-format",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-get-thumbnail-format",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -136,9 +136,9 @@ gimp_drawable_type (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-type",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-type",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -173,9 +173,9 @@ gimp_drawable_type_with_alpha (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-type-with-alpha",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-type-with-alpha",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -209,9 +209,9 @@ gimp_drawable_has_alpha (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-has-alpha",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-has-alpha",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -244,9 +244,9 @@ gimp_drawable_is_rgb (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-is-rgb",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-is-rgb",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -279,9 +279,9 @@ gimp_drawable_is_gray (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-is-gray",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-is-gray",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -314,9 +314,9 @@ gimp_drawable_is_indexed (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-is-indexed",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-is-indexed",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -348,9 +348,9 @@ gimp_drawable_get_bpp (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-get-bpp",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-get-bpp",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -382,9 +382,9 @@ gimp_drawable_get_width (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-get-width",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-get-width",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -416,9 +416,9 @@ gimp_drawable_get_height (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-get-height",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-get-height",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -456,9 +456,9 @@ gimp_drawable_get_offsets (GimpDrawable *drawable,
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-get-offsets",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-get-offsets",
args);
gimp_value_array_unref (args);
*offset_x = 0;
@ -518,9 +518,9 @@ gimp_drawable_mask_bounds (GimpDrawable *drawable,
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-mask-bounds",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-mask-bounds",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -573,9 +573,9 @@ gimp_drawable_mask_intersect (GimpDrawable *drawable,
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-mask-intersect",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-mask-intersect",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -619,9 +619,9 @@ gimp_drawable_merge_shadow (GimpDrawable *drawable,
G_TYPE_BOOLEAN, undo,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-merge-shadow",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-merge-shadow",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -657,9 +657,9 @@ gimp_drawable_free_shadow (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-free-shadow",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-free-shadow",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -705,9 +705,9 @@ gimp_drawable_update (GimpDrawable *drawable,
G_TYPE_INT, height,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-update",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-update",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -751,9 +751,9 @@ gimp_drawable_fill (GimpDrawable *drawable,
GIMP_TYPE_FILL_TYPE, fill_type,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-fill",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-fill",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -802,9 +802,9 @@ gimp_drawable_offset (GimpDrawable *drawable,
G_TYPE_INT, offset_y,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-offset",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-offset",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -852,9 +852,9 @@ _gimp_drawable_thumbnail (GimpDrawable *drawable,
G_TYPE_INT, height,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-thumbnail",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-thumbnail",
args);
gimp_value_array_unref (args);
*actual_width = 0;
@ -929,9 +929,9 @@ _gimp_drawable_sub_thumbnail (GimpDrawable *drawable,
G_TYPE_INT, dest_height,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-sub-thumbnail",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-sub-thumbnail",
args);
gimp_value_array_unref (args);
*width = 0;
@ -984,9 +984,9 @@ gimp_drawable_foreground_extract (GimpDrawable *drawable,
GIMP_TYPE_DRAWABLE, mask,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-foreground-extract",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-foreground-extract",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -68,9 +68,9 @@ gimp_drawable_brightness_contrast (GimpDrawable *drawable,
G_TYPE_DOUBLE, contrast,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-brightness-contrast",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-brightness-contrast",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -125,9 +125,9 @@ gimp_drawable_color_balance (GimpDrawable *drawable,
G_TYPE_DOUBLE, yellow_blue,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-color-balance",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-color-balance",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -172,9 +172,9 @@ gimp_drawable_colorize_hsl (GimpDrawable *drawable,
G_TYPE_DOUBLE, lightness,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-colorize-hsl",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-colorize-hsl",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -222,9 +222,9 @@ gimp_drawable_curves_explicit (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 3), values, num_values);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-curves-explicit",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-curves-explicit",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -273,9 +273,9 @@ gimp_drawable_curves_spline (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 3), points, num_points);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-curves-spline",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-curves-spline",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -317,9 +317,9 @@ gimp_drawable_extract_component (GimpDrawable *drawable,
G_TYPE_BOOLEAN, linear,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-extract-component",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-extract-component",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -358,9 +358,9 @@ gimp_drawable_desaturate (GimpDrawable *drawable,
GIMP_TYPE_DESATURATE_MODE, desaturate_mode,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-desaturate",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-desaturate",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -402,9 +402,9 @@ gimp_drawable_equalize (GimpDrawable *drawable,
G_TYPE_BOOLEAN, mask_only,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-equalize",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-equalize",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -473,9 +473,9 @@ gimp_drawable_histogram (GimpDrawable *drawable,
G_TYPE_DOUBLE, end_range,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-histogram",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-histogram",
args);
gimp_value_array_unref (args);
*mean = 0.0;
@ -544,9 +544,9 @@ gimp_drawable_hue_saturation (GimpDrawable *drawable,
G_TYPE_DOUBLE, overlap,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-hue-saturation",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-hue-saturation",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -585,9 +585,9 @@ gimp_drawable_invert (GimpDrawable *drawable,
G_TYPE_BOOLEAN, linear,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-invert",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-invert",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -655,9 +655,9 @@ gimp_drawable_levels (GimpDrawable *drawable,
G_TYPE_BOOLEAN, clamp_output,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-levels",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-levels",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -692,9 +692,9 @@ gimp_drawable_levels_stretch (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-levels-stretch",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-levels-stretch",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -750,9 +750,9 @@ gimp_drawable_shadows_highlights (GimpDrawable *drawable,
G_TYPE_DOUBLE, highlights_ccorrect,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-shadows-highlights",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-shadows-highlights",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -789,9 +789,9 @@ gimp_drawable_posterize (GimpDrawable *drawable,
G_TYPE_INT, levels,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-posterize",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-posterize",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -836,9 +836,9 @@ gimp_drawable_threshold (GimpDrawable *drawable,
G_TYPE_DOUBLE, high_threshold,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-threshold",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-threshold",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -64,9 +64,9 @@ gimp_drawable_edit_clear (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-edit-clear",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-edit-clear",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -108,9 +108,9 @@ gimp_drawable_edit_fill (GimpDrawable *drawable,
GIMP_TYPE_FILL_TYPE, fill_type,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-edit-fill",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-edit-fill",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -164,9 +164,9 @@ gimp_drawable_edit_bucket_fill (GimpDrawable *drawable,
G_TYPE_DOUBLE, y,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-edit-bucket-fill",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-edit-bucket-fill",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -240,9 +240,9 @@ gimp_drawable_edit_gradient_fill (GimpDrawable *drawable,
G_TYPE_DOUBLE, y2,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-edit-gradient-fill",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-edit-gradient-fill",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -284,9 +284,9 @@ gimp_drawable_edit_stroke_selection (GimpDrawable *drawable)
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-edit-stroke-selection",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-edit-stroke-selection",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -333,9 +333,9 @@ gimp_drawable_edit_stroke_item (GimpDrawable *drawable,
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-edit-stroke-item",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawable-edit-stroke-item",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -69,9 +69,9 @@ gimp_drawables_popup (const gchar *callback,
G_TYPE_BYTES, parent_window,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawables-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawables-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -102,9 +102,9 @@ gimp_drawables_close_popup (const gchar *callback)
G_TYPE_STRING, callback,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawables-close-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawables-close-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -138,9 +138,9 @@ gimp_drawables_set_popup (const gchar *callback,
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawables-set-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-drawables-set-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -59,9 +59,9 @@ gimp_dynamics_refresh (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-dynamics-refresh",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-dynamics-refresh",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -97,9 +97,9 @@ gimp_dynamics_get_list (const gchar *filter)
G_TYPE_STRING, filter,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-dynamics-get-list",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-dynamics-get-list",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -68,9 +68,9 @@ gimp_edit_cut (gint num_drawables,
G_TYPE_NONE);
gimp_value_set_object_array (gimp_value_array_index (args, 1), GIMP_TYPE_ITEM, (GObject **) drawables, num_drawables);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-cut",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-cut",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -114,9 +114,9 @@ gimp_edit_copy (gint num_drawables,
G_TYPE_NONE);
gimp_value_set_object_array (gimp_value_array_index (args, 1), GIMP_TYPE_ITEM, (GObject **) drawables, num_drawables);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-copy",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-copy",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -155,9 +155,9 @@ gimp_edit_copy_visible (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-copy-visible",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-copy-visible",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -210,9 +210,9 @@ gimp_edit_paste (GimpDrawable *drawable,
G_TYPE_BOOLEAN, paste_into,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-paste",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-paste",
args);
gimp_value_array_unref (args);
*num_layers = 0;
@ -252,9 +252,9 @@ gimp_edit_paste_as_new_image (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-paste-as-new-image",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-paste-as-new-image",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -300,9 +300,9 @@ gimp_edit_named_cut (gint num_drawables,
G_TYPE_NONE);
gimp_value_set_object_array (gimp_value_array_index (args, 1), GIMP_TYPE_ITEM, (GObject **) drawables, num_drawables);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-named-cut",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-named-cut",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -348,9 +348,9 @@ gimp_edit_named_copy (gint num_drawables,
G_TYPE_NONE);
gimp_value_set_object_array (gimp_value_array_index (args, 1), GIMP_TYPE_ITEM, (GObject **) drawables, num_drawables);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-named-copy",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-named-copy",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -392,9 +392,9 @@ gimp_edit_named_copy_visible (GimpImage *image,
G_TYPE_STRING, buffer_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-named-copy-visible",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-named-copy-visible",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -435,9 +435,9 @@ gimp_edit_named_paste (GimpDrawable *drawable,
G_TYPE_BOOLEAN, paste_into,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-named-paste",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-named-paste",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -472,9 +472,9 @@ gimp_edit_named_paste_as_new_image (const gchar *buffer_name)
G_TYPE_STRING, buffer_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-named-paste-as-new-image",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-edit-named-paste-as-new-image",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -62,9 +62,9 @@ gimp_file_load (GimpRunMode run_mode,
G_TYPE_FILE, file,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-file-load",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-file-load",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -107,9 +107,9 @@ gimp_file_load_layer (GimpRunMode run_mode,
G_TYPE_FILE, file,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-file-load-layer",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-file-load-layer",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -156,9 +156,9 @@ gimp_file_load_layers (GimpRunMode run_mode,
G_TYPE_FILE, file,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-file-load-layers",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-file-load-layers",
args);
gimp_value_array_unref (args);
*num_layers = 0;
@ -209,9 +209,9 @@ gimp_file_save (GimpRunMode run_mode,
G_TYPE_NONE);
gimp_value_set_object_array (gimp_value_array_index (args, 3), GIMP_TYPE_ITEM, (GObject **) drawables, num_drawables);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-file-save",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-file-save",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -250,9 +250,9 @@ gimp_file_save_thumbnail (GimpImage *image,
G_TYPE_FILE, file,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-file-save-thumbnail",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-file-save-thumbnail",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -59,9 +59,9 @@ gimp_floating_sel_remove (GimpLayer *floating_sel)
GIMP_TYPE_LAYER, floating_sel,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-floating-sel-remove",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-floating-sel-remove",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -95,9 +95,9 @@ gimp_floating_sel_anchor (GimpLayer *floating_sel)
GIMP_TYPE_LAYER, floating_sel,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-floating-sel-anchor",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-floating-sel-anchor",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -135,9 +135,9 @@ gimp_floating_sel_to_layer (GimpLayer *floating_sel)
GIMP_TYPE_LAYER, floating_sel,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-floating-sel-to-layer",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-floating-sel-to-layer",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -172,9 +172,9 @@ gimp_floating_sel_attach (GimpLayer *layer,
GIMP_TYPE_DRAWABLE, drawable,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-floating-sel-attach",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-floating-sel-attach",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -64,9 +64,9 @@ gimp_font_get_by_name (const gchar *name)
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-font-get-by-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-font-get-by-name",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -104,9 +104,9 @@ gimp_fonts_get_by_name (const gchar *name,
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-fonts-get-by-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-fonts-get-by-name",
args);
gimp_value_array_unref (args);
*num_fonts = 0;

View File

@ -57,9 +57,9 @@ gimp_fonts_refresh (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-fonts-refresh",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-fonts-refresh",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -92,9 +92,9 @@ gimp_fonts_get_list (const gchar *filter)
G_TYPE_STRING, filter,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-fonts-get-list",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-fonts-get-list",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -75,9 +75,9 @@ gimp_fonts_popup (const gchar *font_callback,
G_TYPE_BYTES, parent_window,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-fonts-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-fonts-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -108,9 +108,9 @@ gimp_fonts_close_popup (const gchar *font_callback)
G_TYPE_STRING, font_callback,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-fonts-close-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-fonts-close-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -144,9 +144,9 @@ gimp_fonts_set_popup (const gchar *font_callback,
GIMP_TYPE_FONT, font,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-fonts-set-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-fonts-set-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -66,9 +66,9 @@ gimp_gimprc_query (const gchar *token)
G_TYPE_STRING, token,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gimprc-query",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gimprc-query",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -107,9 +107,9 @@ gimp_gimprc_set (const gchar *token,
G_TYPE_STRING, value,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gimprc-set",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gimprc-set",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -139,9 +139,9 @@ gimp_get_default_comment (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-default-comment",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-default-comment",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -173,9 +173,9 @@ gimp_get_default_unit (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-default-unit",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-default-unit",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -211,9 +211,9 @@ gimp_get_monitor_resolution (gdouble *xres,
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-monitor-resolution",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-monitor-resolution",
args);
gimp_value_array_unref (args);
*xres = 0.0;
@ -255,9 +255,9 @@ _gimp_get_color_configuration (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-color-configuration",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-color-configuration",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -288,9 +288,9 @@ gimp_get_module_load_inhibit (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-module-load-inhibit",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-get-module-load-inhibit",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -59,9 +59,9 @@ gimp_gradient_new (const gchar *name)
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-new",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-new",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -95,9 +95,9 @@ gimp_gradient_get_by_name (const gchar *name)
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-get-by-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-get-by-name",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -131,9 +131,9 @@ gimp_gradient_get_number_of_segments (GimpGradient *gradient)
GIMP_TYPE_GRADIENT, gradient,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-get-number-of-segments",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-get-number-of-segments",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -182,9 +182,9 @@ gimp_gradient_get_uniform_samples (GimpGradient *gradient,
G_TYPE_BOOLEAN, reverse,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-get-uniform-samples",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-get-uniform-samples",
args);
gimp_value_array_unref (args);
*num_color_samples = 0;
@ -243,9 +243,9 @@ gimp_gradient_get_custom_samples (GimpGradient *gradient,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 2), positions, num_samples);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-get-custom-samples",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-get-custom-samples",
args);
gimp_value_array_unref (args);
*num_color_samples = 0;
@ -295,9 +295,9 @@ gimp_gradient_segment_get_left_color (GimpGradient *gradient,
G_TYPE_INT, segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-left-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-left-color",
args);
gimp_value_array_unref (args);
*opacity = 0.0;
@ -350,9 +350,9 @@ gimp_gradient_segment_set_left_color (GimpGradient *gradient,
G_TYPE_DOUBLE, opacity,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-set-left-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-set-left-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -394,9 +394,9 @@ gimp_gradient_segment_get_right_color (GimpGradient *gradient,
G_TYPE_INT, segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-right-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-right-color",
args);
gimp_value_array_unref (args);
*opacity = 0.0;
@ -448,9 +448,9 @@ gimp_gradient_segment_set_right_color (GimpGradient *gradient,
G_TYPE_DOUBLE, opacity,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-set-right-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-set-right-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -490,9 +490,9 @@ gimp_gradient_segment_get_left_pos (GimpGradient *gradient,
G_TYPE_INT, segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-left-pos",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-left-pos",
args);
gimp_value_array_unref (args);
*pos = 0.0;
@ -542,9 +542,9 @@ gimp_gradient_segment_set_left_pos (GimpGradient *gradient,
G_TYPE_DOUBLE, pos,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-set-left-pos",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-set-left-pos",
args);
gimp_value_array_unref (args);
*final_pos = 0.0;
@ -588,9 +588,9 @@ gimp_gradient_segment_get_middle_pos (GimpGradient *gradient,
G_TYPE_INT, segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-middle-pos",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-middle-pos",
args);
gimp_value_array_unref (args);
*pos = 0.0;
@ -640,9 +640,9 @@ gimp_gradient_segment_set_middle_pos (GimpGradient *gradient,
G_TYPE_DOUBLE, pos,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-set-middle-pos",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-set-middle-pos",
args);
gimp_value_array_unref (args);
*final_pos = 0.0;
@ -687,9 +687,9 @@ gimp_gradient_segment_get_right_pos (GimpGradient *gradient,
G_TYPE_INT, segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-right-pos",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-right-pos",
args);
gimp_value_array_unref (args);
*pos = 0.0;
@ -739,9 +739,9 @@ gimp_gradient_segment_set_right_pos (GimpGradient *gradient,
G_TYPE_DOUBLE, pos,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-set-right-pos",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-set-right-pos",
args);
gimp_value_array_unref (args);
*final_pos = 0.0;
@ -785,9 +785,9 @@ gimp_gradient_segment_get_blending_function (GimpGradient *gradient,
G_TYPE_INT, segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-blending-function",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-blending-function",
args);
gimp_value_array_unref (args);
*blend_func = 0;
@ -831,9 +831,9 @@ gimp_gradient_segment_get_coloring_type (GimpGradient *gradient,
G_TYPE_INT, segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-coloring-type",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-get-coloring-type",
args);
gimp_value_array_unref (args);
*coloring_type = 0;
@ -882,9 +882,9 @@ gimp_gradient_segment_range_set_blending_function (GimpGradient *grad
GIMP_TYPE_GRADIENT_SEGMENT_TYPE, blending_function,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-set-blending-function",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-set-blending-function",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -928,9 +928,9 @@ gimp_gradient_segment_range_set_coloring_type (GimpGradient *gradien
GIMP_TYPE_GRADIENT_SEGMENT_COLOR, coloring_type,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-set-coloring-type",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-set-coloring-type",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -973,9 +973,9 @@ gimp_gradient_segment_range_flip (GimpGradient *gradient,
G_TYPE_INT, end_segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-flip",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-flip",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1021,9 +1021,9 @@ gimp_gradient_segment_range_replicate (GimpGradient *gradient,
G_TYPE_INT, replicate_times,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-replicate",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-replicate",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1064,9 +1064,9 @@ gimp_gradient_segment_range_split_midpoint (GimpGradient *gradient,
G_TYPE_INT, end_segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-split-midpoint",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-split-midpoint",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1111,9 +1111,9 @@ gimp_gradient_segment_range_split_uniform (GimpGradient *gradient,
G_TYPE_INT, split_parts,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-split-uniform",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-split-uniform",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1154,9 +1154,9 @@ gimp_gradient_segment_range_delete (GimpGradient *gradient,
G_TYPE_INT, end_segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-delete",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-delete",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1199,9 +1199,9 @@ gimp_gradient_segment_range_redistribute_handles (GimpGradient *gradient,
G_TYPE_INT, end_segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-redistribute-handles",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-redistribute-handles",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1243,9 +1243,9 @@ gimp_gradient_segment_range_blend_colors (GimpGradient *gradient,
G_TYPE_INT, end_segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-blend-colors",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-blend-colors",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1287,9 +1287,9 @@ gimp_gradient_segment_range_blend_opacity (GimpGradient *gradient,
G_TYPE_INT, end_segment,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-blend-opacity",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-blend-opacity",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1338,9 +1338,9 @@ gimp_gradient_segment_range_move (GimpGradient *gradient,
G_TYPE_BOOLEAN, control_compress,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-move",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradient-segment-range-move",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -56,9 +56,9 @@ gimp_gradients_refresh (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradients-refresh",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradients-refresh",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -93,9 +93,9 @@ gimp_gradients_get_list (const gchar *filter)
G_TYPE_STRING, filter,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradients-get-list",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradients-get-list",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -67,9 +67,9 @@ gimp_gradients_popup (const gchar *gradient_callback,
G_TYPE_BYTES, parent_window,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradients-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradients-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -100,9 +100,9 @@ gimp_gradients_close_popup (const gchar *gradient_callback)
G_TYPE_STRING, gradient_callback,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradients-close-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradients-close-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -136,9 +136,9 @@ gimp_gradients_set_popup (const gchar *gradient_callback,
GIMP_TYPE_GRADIENT, gradient,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradients-set-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-gradients-set-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -65,9 +65,9 @@ gimp_help (const gchar *help_domain,
G_TYPE_STRING, help_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-help",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-help",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

File diff suppressed because it is too large Load Diff

View File

@ -60,9 +60,9 @@ _gimp_image_get_color_profile (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-color-profile",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-color-profile",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -100,9 +100,9 @@ _gimp_image_get_effective_color_profile (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-effective-color-profile",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-effective-color-profile",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -143,9 +143,9 @@ _gimp_image_set_color_profile (GimpImage *image,
G_TYPE_BYTES, color_profile,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-set-color-profile",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-set-color-profile",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -186,9 +186,9 @@ gimp_image_set_color_profile_from_file (GimpImage *image,
G_TYPE_FILE, file,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-set-color-profile-from-file",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-set-color-profile-from-file",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -222,9 +222,9 @@ _gimp_image_get_simulation_profile (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-simulation-profile",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-simulation-profile",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -263,9 +263,9 @@ _gimp_image_set_simulation_profile (GimpImage *image,
G_TYPE_BYTES, color_profile,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-set-simulation-profile",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-set-simulation-profile",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -303,9 +303,9 @@ gimp_image_set_simulation_profile_from_file (GimpImage *image,
G_TYPE_FILE, file,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-set-simulation-profile-from-file",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-set-simulation-profile-from-file",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -338,9 +338,9 @@ gimp_image_get_simulation_intent (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-simulation-intent",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-simulation-intent",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -377,9 +377,9 @@ gimp_image_set_simulation_intent (GimpImage *image,
GIMP_TYPE_COLOR_RENDERING_INTENT, intent,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-set-simulation-intent",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-set-simulation-intent",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -414,9 +414,9 @@ gimp_image_get_simulation_bpc (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-simulation-bpc",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-simulation-bpc",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -455,9 +455,9 @@ gimp_image_set_simulation_bpc (GimpImage *image,
G_TYPE_BOOLEAN, bpc,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-set-simulation-bpc",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-set-simulation-bpc",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -502,9 +502,9 @@ _gimp_image_convert_color_profile (GimpImage *image,
G_TYPE_BOOLEAN, bpc,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-color-profile",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-color-profile",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -549,9 +549,9 @@ gimp_image_convert_color_profile_from_file (GimpImage *image,
G_TYPE_BOOLEAN, bpc,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-color-profile-from-file",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-color-profile-from-file",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -60,9 +60,9 @@ gimp_image_convert_rgb (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-rgb",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-rgb",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -94,9 +94,9 @@ gimp_image_convert_grayscale (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-grayscale",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-grayscale",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -157,9 +157,9 @@ gimp_image_convert_indexed (GimpImage *image,
G_TYPE_STRING, palette,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-indexed",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-indexed",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -199,9 +199,9 @@ gimp_image_convert_set_dither_matrix (gint width,
G_TYPE_BYTES, matrix,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-set-dither-matrix",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-set-dither-matrix",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -239,9 +239,9 @@ gimp_image_convert_precision (GimpImage *image,
GIMP_TYPE_PRECISION, precision,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-precision",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-convert-precision",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -64,9 +64,9 @@ gimp_image_grid_get_spacing (GimpImage *image,
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-get-spacing",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-get-spacing",
args);
gimp_value_array_unref (args);
*xspacing = 0.0;
@ -115,9 +115,9 @@ gimp_image_grid_set_spacing (GimpImage *image,
G_TYPE_DOUBLE, yspacing,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-set-spacing",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-set-spacing",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -155,9 +155,9 @@ gimp_image_grid_get_offset (GimpImage *image,
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-get-offset",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-get-offset",
args);
gimp_value_array_unref (args);
*xoffset = 0.0;
@ -206,9 +206,9 @@ gimp_image_grid_set_offset (GimpImage *image,
G_TYPE_DOUBLE, yoffset,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-set-offset",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-set-offset",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -243,9 +243,9 @@ gimp_image_grid_get_foreground_color (GimpImage *image,
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-get-foreground-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-get-foreground-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -284,9 +284,9 @@ gimp_image_grid_set_foreground_color (GimpImage *image,
GIMP_TYPE_RGB, fgcolor,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-set-foreground-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-set-foreground-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -321,9 +321,9 @@ gimp_image_grid_get_background_color (GimpImage *image,
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-get-background-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-get-background-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -362,9 +362,9 @@ gimp_image_grid_set_background_color (GimpImage *image,
GIMP_TYPE_RGB, bgcolor,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-set-background-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-set-background-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -397,9 +397,9 @@ gimp_image_grid_get_style (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-get-style",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-get-style",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -437,9 +437,9 @@ gimp_image_grid_set_style (GimpImage *image,
GIMP_TYPE_GRID_STYLE, style,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-set-style",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-grid-set-style",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -62,9 +62,9 @@ gimp_image_add_hguide (GimpImage *image,
G_TYPE_INT, yposition,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-add-hguide",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-add-hguide",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -101,9 +101,9 @@ gimp_image_add_vguide (GimpImage *image,
G_TYPE_INT, xposition,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-add-vguide",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-add-vguide",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -139,9 +139,9 @@ gimp_image_delete_guide (GimpImage *image,
G_TYPE_UINT, guide,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-delete-guide",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-delete-guide",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -179,9 +179,9 @@ gimp_image_find_next_guide (GimpImage *image,
G_TYPE_UINT, guide,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-find-next-guide",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-find-next-guide",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -217,9 +217,9 @@ gimp_image_get_guide_orientation (GimpImage *image,
G_TYPE_UINT, guide,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-guide-orientation",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-guide-orientation",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -255,9 +255,9 @@ gimp_image_get_guide_position (GimpImage *image,
G_TYPE_UINT, guide,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-guide-position",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-guide-position",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -67,9 +67,9 @@ gimp_image_add_sample_point (GimpImage *image,
G_TYPE_INT, position_y,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-add-sample-point",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-add-sample-point",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -107,9 +107,9 @@ gimp_image_delete_sample_point (GimpImage *image,
G_TYPE_UINT, sample_point,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-delete-sample-point",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-delete-sample-point",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -150,9 +150,9 @@ gimp_image_find_next_sample_point (GimpImage *image,
G_TYPE_UINT, sample_point,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-find-next-sample-point",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-find-next-sample-point",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -193,9 +193,9 @@ gimp_image_get_sample_point_position (GimpImage *image,
G_TYPE_UINT, sample_point,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-sample-point-position",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-get-sample-point-position",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -84,9 +84,9 @@ gimp_image_select_color (GimpImage *image,
GIMP_TYPE_RGB, color,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -156,9 +156,9 @@ gimp_image_select_contiguous_color (GimpImage *image,
G_TYPE_DOUBLE, y,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-contiguous-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-contiguous-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -211,9 +211,9 @@ gimp_image_select_rectangle (GimpImage *image,
G_TYPE_DOUBLE, height,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-rectangle",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-rectangle",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -275,9 +275,9 @@ gimp_image_select_round_rectangle (GimpImage *image,
G_TYPE_DOUBLE, corner_radius_y,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-round-rectangle",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-round-rectangle",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -331,9 +331,9 @@ gimp_image_select_ellipse (GimpImage *image,
G_TYPE_DOUBLE, height,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-ellipse",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-ellipse",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -387,9 +387,9 @@ gimp_image_select_polygon (GimpImage *image,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 3), segs, num_segs);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-polygon",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-polygon",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -435,9 +435,9 @@ gimp_image_select_item (GimpImage *image,
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-item",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-select-item",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -75,9 +75,9 @@ gimp_image_resize (GimpImage *image,
G_TYPE_INT, offy,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-resize",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-resize",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -113,9 +113,9 @@ gimp_image_resize_to_layers (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-resize-to-layers",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-resize-to-layers",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -156,9 +156,9 @@ gimp_image_scale (GimpImage *image,
G_TYPE_INT, new_height,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-scale",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-scale",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -206,9 +206,9 @@ gimp_image_crop (GimpImage *image,
G_TYPE_INT, offy,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-crop",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-crop",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -242,9 +242,9 @@ gimp_image_flip (GimpImage *image,
GIMP_TYPE_ORIENTATION_TYPE, flip_type,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-flip",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-flip",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -278,9 +278,9 @@ gimp_image_rotate (GimpImage *image,
GIMP_TYPE_ROTATION_TYPE, rotate_type,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-rotate",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-rotate",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -60,9 +60,9 @@ gimp_image_undo_group_start (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-group-start",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-group-start",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -94,9 +94,9 @@ gimp_image_undo_group_end (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-group-end",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-group-end",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -130,9 +130,9 @@ gimp_image_undo_is_enabled (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-is-enabled",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-is-enabled",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -168,9 +168,9 @@ gimp_image_undo_disable (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-disable",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-disable",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -205,9 +205,9 @@ gimp_image_undo_enable (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-enable",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-enable",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -249,9 +249,9 @@ gimp_image_undo_freeze (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-freeze",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-freeze",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -292,9 +292,9 @@ gimp_image_undo_thaw (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-thaw",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-image-undo-thaw",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -60,9 +60,9 @@ gimp_item_id_is_valid (gint item_id)
G_TYPE_INT, item_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-valid",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-valid",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -96,9 +96,9 @@ gimp_item_id_is_drawable (gint item_id)
G_TYPE_INT, item_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-drawable",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-drawable",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -132,9 +132,9 @@ gimp_item_id_is_layer (gint item_id)
G_TYPE_INT, item_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-layer",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-layer",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -169,9 +169,9 @@ gimp_item_id_is_text_layer (gint item_id)
G_TYPE_INT, item_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-text-layer",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-text-layer",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -205,9 +205,9 @@ gimp_item_id_is_channel (gint item_id)
G_TYPE_INT, item_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-channel",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-channel",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -242,9 +242,9 @@ gimp_item_id_is_layer_mask (gint item_id)
G_TYPE_INT, item_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-layer-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-layer-mask",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -278,9 +278,9 @@ gimp_item_id_is_selection (gint item_id)
G_TYPE_INT, item_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-selection",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-selection",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -314,9 +314,9 @@ gimp_item_id_is_vectors (gint item_id)
G_TYPE_INT, item_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-vectors",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-id-is-vectors",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -350,9 +350,9 @@ gimp_item_get_image (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-image",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-image",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -390,9 +390,9 @@ gimp_item_delete (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-delete",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-delete",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -426,9 +426,9 @@ gimp_item_is_group (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-is-group",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-is-group",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -462,9 +462,9 @@ gimp_item_get_parent (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-parent",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-parent",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -503,9 +503,9 @@ gimp_item_get_children (GimpItem *item,
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-children",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-children",
args);
gimp_value_array_unref (args);
*num_children = 0;
@ -544,9 +544,9 @@ gimp_item_get_expanded (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-expanded",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-expanded",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -583,9 +583,9 @@ gimp_item_set_expanded (GimpItem *item,
G_TYPE_BOOLEAN, expanded,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-expanded",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-expanded",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -619,9 +619,9 @@ gimp_item_get_name (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-name",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -658,9 +658,9 @@ gimp_item_set_name (GimpItem *item,
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-name",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -693,9 +693,9 @@ gimp_item_get_visible (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-visible",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-visible",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -732,9 +732,9 @@ gimp_item_set_visible (GimpItem *item,
G_TYPE_BOOLEAN, visible,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-visible",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-visible",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -767,9 +767,9 @@ gimp_item_get_lock_content (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-lock-content",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-lock-content",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -806,9 +806,9 @@ gimp_item_set_lock_content (GimpItem *item,
G_TYPE_BOOLEAN, lock_content,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-lock-content",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-lock-content",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -841,9 +841,9 @@ gimp_item_get_lock_position (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-lock-position",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-lock-position",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -880,9 +880,9 @@ gimp_item_set_lock_position (GimpItem *item,
G_TYPE_BOOLEAN, lock_position,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-lock-position",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-lock-position",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -915,9 +915,9 @@ gimp_item_get_lock_visibility (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-lock-visibility",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-lock-visibility",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -954,9 +954,9 @@ gimp_item_set_lock_visibility (GimpItem *item,
G_TYPE_BOOLEAN, lock_visibility,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-lock-visibility",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-lock-visibility",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -989,9 +989,9 @@ gimp_item_get_color_tag (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-color-tag",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-color-tag",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1028,9 +1028,9 @@ gimp_item_set_color_tag (GimpItem *item,
GIMP_TYPE_COLOR_TAG, color_tag,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-color-tag",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-color-tag",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1065,9 +1065,9 @@ gimp_item_get_tattoo (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-tattoo",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-tattoo",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1106,9 +1106,9 @@ gimp_item_set_tattoo (GimpItem *item,
G_TYPE_UINT, tattoo,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-tattoo",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-set-tattoo",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1145,9 +1145,9 @@ gimp_item_attach_parasite (GimpItem *item,
GIMP_TYPE_PARASITE, parasite,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-attach-parasite",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-attach-parasite",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1184,9 +1184,9 @@ gimp_item_detach_parasite (GimpItem *item,
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-detach-parasite",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-detach-parasite",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1222,9 +1222,9 @@ gimp_item_get_parasite (GimpItem *item,
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-parasite",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-parasite",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1260,9 +1260,9 @@ gimp_item_get_parasite_list (GimpItem *item)
GIMP_TYPE_ITEM, item,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-parasite-list",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-get-parasite-list",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -68,9 +68,9 @@ gimp_item_transform_translate (GimpItem *item,
G_TYPE_DOUBLE, off_y,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-translate",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-translate",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -128,9 +128,9 @@ gimp_item_transform_flip_simple (GimpItem *item,
G_TYPE_DOUBLE, axis,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-flip-simple",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-flip-simple",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -191,9 +191,9 @@ gimp_item_transform_flip (GimpItem *item,
G_TYPE_DOUBLE, y1,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-flip",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-flip",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -275,9 +275,9 @@ gimp_item_transform_perspective (GimpItem *item,
G_TYPE_DOUBLE, y3,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-perspective",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-perspective",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -341,9 +341,9 @@ gimp_item_transform_rotate_simple (GimpItem *item,
G_TYPE_DOUBLE, center_y,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-rotate-simple",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-rotate-simple",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -409,9 +409,9 @@ gimp_item_transform_rotate (GimpItem *item,
G_TYPE_DOUBLE, center_y,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-rotate",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-rotate",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -474,9 +474,9 @@ gimp_item_transform_scale (GimpItem *item,
G_TYPE_DOUBLE, y1,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-scale",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-scale",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -535,9 +535,9 @@ gimp_item_transform_shear (GimpItem *item,
G_TYPE_DOUBLE, magnitude,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-shear",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-shear",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -612,9 +612,9 @@ gimp_item_transform_2d (GimpItem *item,
G_TYPE_DOUBLE, dest_y,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-2d",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-2d",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -693,9 +693,9 @@ gimp_item_transform_matrix (GimpItem *item,
G_TYPE_DOUBLE, coeff_2_2,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-matrix",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-item-transform-matrix",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -80,9 +80,9 @@ _gimp_layer_new (GimpImage *image,
GIMP_TYPE_LAYER_MODE, mode,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-new",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-new",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -126,9 +126,9 @@ gimp_layer_new_from_visible (GimpImage *image,
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-new-from-visible",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-new-from-visible",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -167,9 +167,9 @@ gimp_layer_new_from_drawable (GimpDrawable *drawable,
GIMP_TYPE_IMAGE, dest_image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-new-from-drawable",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-new-from-drawable",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -209,9 +209,9 @@ gimp_layer_group_new (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-group-new",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-group-new",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -251,9 +251,9 @@ _gimp_layer_copy (GimpLayer *layer,
G_TYPE_BOOLEAN, add_alpha,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-copy",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-copy",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -289,9 +289,9 @@ gimp_layer_add_alpha (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-add-alpha",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-add-alpha",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -327,9 +327,9 @@ gimp_layer_flatten (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-flatten",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-flatten",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -374,9 +374,9 @@ gimp_layer_scale (GimpLayer *layer,
G_TYPE_BOOLEAN, local_origin,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-scale",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-scale",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -422,9 +422,9 @@ gimp_layer_resize (GimpLayer *layer,
G_TYPE_INT, offy,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-resize",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-resize",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -456,9 +456,9 @@ gimp_layer_resize_to_image_size (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-resize-to-image-size",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-resize-to-image-size",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -497,9 +497,9 @@ gimp_layer_set_offsets (GimpLayer *layer,
G_TYPE_INT, offy,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-offsets",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-offsets",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -552,9 +552,9 @@ gimp_layer_create_mask (GimpLayer *layer,
GIMP_TYPE_ADD_MASK_TYPE, mask_type,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-create-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-create-mask",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -587,9 +587,9 @@ gimp_layer_get_mask (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-mask",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -624,9 +624,9 @@ gimp_layer_from_mask (GimpLayerMask *mask)
GIMP_TYPE_LAYER_MASK, mask,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-from-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-from-mask",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -667,9 +667,9 @@ gimp_layer_add_mask (GimpLayer *layer,
GIMP_TYPE_LAYER_MASK, mask,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-add-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-add-mask",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -704,9 +704,9 @@ gimp_layer_remove_mask (GimpLayer *layer,
GIMP_TYPE_MASK_APPLY_MODE, mode,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-remove-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-remove-mask",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -739,9 +739,9 @@ gimp_layer_is_floating_sel (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-is-floating-sel",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-is-floating-sel",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -774,9 +774,9 @@ gimp_layer_get_lock_alpha (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-lock-alpha",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-lock-alpha",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -812,9 +812,9 @@ gimp_layer_set_lock_alpha (GimpLayer *layer,
G_TYPE_BOOLEAN, lock_alpha,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-lock-alpha",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-lock-alpha",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -847,9 +847,9 @@ gimp_layer_get_apply_mask (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-apply-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-apply-mask",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -887,9 +887,9 @@ gimp_layer_set_apply_mask (GimpLayer *layer,
G_TYPE_BOOLEAN, apply_mask,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-apply-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-apply-mask",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -923,9 +923,9 @@ gimp_layer_get_show_mask (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-show-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-show-mask",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -963,9 +963,9 @@ gimp_layer_set_show_mask (GimpLayer *layer,
G_TYPE_BOOLEAN, show_mask,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-show-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-show-mask",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -998,9 +998,9 @@ gimp_layer_get_edit_mask (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-edit-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-edit-mask",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1038,9 +1038,9 @@ gimp_layer_set_edit_mask (GimpLayer *layer,
G_TYPE_BOOLEAN, edit_mask,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-edit-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-edit-mask",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1071,9 +1071,9 @@ gimp_layer_get_opacity (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-opacity",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-opacity",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1108,9 +1108,9 @@ gimp_layer_set_opacity (GimpLayer *layer,
G_TYPE_DOUBLE, opacity,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-opacity",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-opacity",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1141,9 +1141,9 @@ gimp_layer_get_mode (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-mode",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-mode",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1178,9 +1178,9 @@ gimp_layer_set_mode (GimpLayer *layer,
GIMP_TYPE_LAYER_MODE, mode,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-mode",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-mode",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1213,9 +1213,9 @@ gimp_layer_get_blend_space (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-blend-space",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-blend-space",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1252,9 +1252,9 @@ gimp_layer_set_blend_space (GimpLayer *layer,
GIMP_TYPE_LAYER_COLOR_SPACE, blend_space,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-blend-space",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-blend-space",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1287,9 +1287,9 @@ gimp_layer_get_composite_space (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-composite-space",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-composite-space",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1326,9 +1326,9 @@ gimp_layer_set_composite_space (GimpLayer *layer,
GIMP_TYPE_LAYER_COLOR_SPACE, composite_space,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-composite-space",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-composite-space",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1361,9 +1361,9 @@ gimp_layer_get_composite_mode (GimpLayer *layer)
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-composite-mode",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-get-composite-mode",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1400,9 +1400,9 @@ gimp_layer_set_composite_mode (GimpLayer *layer,
GIMP_TYPE_LAYER_COMPOSITE_MODE, composite_mode,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-composite-mode",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-layer-set-composite-mode",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -58,9 +58,9 @@ gimp_message (const gchar *message)
G_TYPE_STRING, message,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-message",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-message",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -91,9 +91,9 @@ gimp_message_get_handler (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-message-get-handler",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-message-get-handler",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -127,9 +127,9 @@ gimp_message_set_handler (GimpMessageHandlerType handler)
GIMP_TYPE_MESSAGE_HANDLER_TYPE, handler,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-message-set-handler",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-message-set-handler",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -71,9 +71,9 @@ gimp_airbrush (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 3), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-airbrush",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-airbrush",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -115,9 +115,9 @@ gimp_airbrush_default (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 2), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-airbrush-default",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-airbrush-default",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -178,9 +178,9 @@ gimp_clone (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 6), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-clone",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-clone",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -223,9 +223,9 @@ gimp_clone_default (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 2), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-clone-default",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-clone-default",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -272,9 +272,9 @@ gimp_convolve (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 4), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-convolve",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-convolve",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -316,9 +316,9 @@ gimp_convolve_default (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 2), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-convolve-default",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-convolve-default",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -365,9 +365,9 @@ gimp_dodgeburn (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 5), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-dodgeburn",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-dodgeburn",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -408,9 +408,9 @@ gimp_dodgeburn_default (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 2), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-dodgeburn-default",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-dodgeburn-default",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -458,9 +458,9 @@ gimp_eraser (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 2), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-eraser",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-eraser",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -502,9 +502,9 @@ gimp_eraser_default (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 2), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-eraser-default",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-eraser-default",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -558,9 +558,9 @@ gimp_heal (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 5), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-heal",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-heal",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -605,9 +605,9 @@ gimp_heal_default (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 2), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-heal-default",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-heal-default",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -663,9 +663,9 @@ gimp_paintbrush (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 3), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-paintbrush",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-paintbrush",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -716,9 +716,9 @@ gimp_paintbrush_default (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 2), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-paintbrush-default",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-paintbrush-default",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -761,9 +761,9 @@ gimp_pencil (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 2), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pencil",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pencil",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -806,9 +806,9 @@ gimp_smudge (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 3), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-smudge",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-smudge",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -849,9 +849,9 @@ gimp_smudge_default (GimpDrawable *drawable,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 2), strokes, num_strokes);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-smudge-default",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-smudge-default",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -62,9 +62,9 @@ gimp_palette_new (const gchar *name)
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-new",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-new",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -98,9 +98,9 @@ gimp_palette_get_by_name (const gchar *name)
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-get-by-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-get-by-name",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -134,9 +134,9 @@ gimp_palette_get_color_count (GimpPalette *palette)
GIMP_TYPE_PALETTE, palette,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-get-color-count",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-get-color-count",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -174,9 +174,9 @@ gimp_palette_get_colors (GimpPalette *palette,
GIMP_TYPE_PALETTE, palette,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-get-colors",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-get-colors",
args);
gimp_value_array_unref (args);
*num_colors = 0;
@ -215,9 +215,9 @@ gimp_palette_get_columns (GimpPalette *palette)
GIMP_TYPE_PALETTE, palette,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-get-columns",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-get-columns",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -256,9 +256,9 @@ gimp_palette_set_columns (GimpPalette *palette,
G_TYPE_INT, columns,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-set-columns",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-set-columns",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -302,9 +302,9 @@ gimp_palette_add_entry (GimpPalette *palette,
GIMP_TYPE_RGB, color,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-add-entry",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-add-entry",
args);
gimp_value_array_unref (args);
*entry_num = 0;
@ -348,9 +348,9 @@ gimp_palette_delete_entry (GimpPalette *palette,
G_TYPE_INT, entry_num,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-delete-entry",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-delete-entry",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -389,9 +389,9 @@ gimp_palette_entry_get_color (GimpPalette *palette,
G_TYPE_INT, entry_num,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-entry-get-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-entry-get-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -435,9 +435,9 @@ gimp_palette_entry_set_color (GimpPalette *palette,
GIMP_TYPE_RGB, color,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-entry-set-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-entry-set-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -476,9 +476,9 @@ gimp_palette_entry_get_name (GimpPalette *palette,
G_TYPE_INT, entry_num,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-entry-get-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-entry-get-name",
args);
gimp_value_array_unref (args);
*entry_name = NULL;
@ -524,9 +524,9 @@ gimp_palette_entry_set_name (GimpPalette *palette,
G_TYPE_STRING, entry_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-entry-set-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palette-entry-set-name",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -56,9 +56,9 @@ gimp_palettes_refresh (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palettes-refresh",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palettes-refresh",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -93,9 +93,9 @@ gimp_palettes_get_list (const gchar *filter)
G_TYPE_STRING, filter,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palettes-get-list",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palettes-get-list",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -67,9 +67,9 @@ gimp_palettes_popup (const gchar *palette_callback,
G_TYPE_BYTES, parent_window,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palettes-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palettes-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -100,9 +100,9 @@ gimp_palettes_close_popup (const gchar *palette_callback)
G_TYPE_STRING, palette_callback,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palettes-close-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palettes-close-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -136,9 +136,9 @@ gimp_palettes_set_popup (const gchar *palette_callback,
GIMP_TYPE_PALETTE, palette,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palettes-set-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-palettes-set-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -59,9 +59,9 @@ gimp_pattern_get_by_name (const gchar *name)
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pattern-get-by-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pattern-get-by-name",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -102,9 +102,9 @@ gimp_pattern_get_info (GimpPattern *pattern,
GIMP_TYPE_PATTERN, pattern,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pattern-get-info",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pattern-get-info",
args);
gimp_value_array_unref (args);
*width = 0;
@ -157,9 +157,9 @@ _gimp_pattern_get_pixels (GimpPattern *pattern,
GIMP_TYPE_PATTERN, pattern,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pattern-get-pixels",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pattern-get-pixels",
args);
gimp_value_array_unref (args);
*width = 0;

View File

@ -56,9 +56,9 @@ gimp_patterns_refresh (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-patterns-refresh",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-patterns-refresh",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -93,9 +93,9 @@ gimp_patterns_get_list (const gchar *filter)
G_TYPE_STRING, filter,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-patterns-get-list",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-patterns-get-list",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -67,9 +67,9 @@ gimp_patterns_popup (const gchar *pattern_callback,
G_TYPE_BYTES, parent_window,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-patterns-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-patterns-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -100,9 +100,9 @@ gimp_patterns_close_popup (const gchar *pattern_callback)
G_TYPE_STRING, pattern_callback,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-patterns-close-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-patterns-close-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -136,9 +136,9 @@ gimp_patterns_set_popup (const gchar *pattern_callback,
GIMP_TYPE_PATTERN, pattern,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-patterns-set-popup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-patterns-set-popup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -315,59 +315,6 @@ gimp_pdb_run_procedure_valist (GimpPDB *pdb,
return return_values;
}
/**
* gimp_pdb_run_procedure_array:
* @pdb: the #GimpPDB object.
* @procedure_name: the procedure registered name.
* @arguments: the call arguments.
*
* Runs the procedure named @procedure_name with @arguments.
*
* Returns: (transfer full): the return values for the procedure call.
*
* Since: 3.0
*/
GimpValueArray *
gimp_pdb_run_procedure_array (GimpPDB *pdb,
const gchar *procedure_name,
const GimpValueArray *arguments)
{
GPProcRun proc_run;
GPProcReturn *proc_return;
GimpWireMessage msg;
GimpValueArray *return_values;
g_return_val_if_fail (GIMP_IS_PDB (pdb), NULL);
g_return_val_if_fail (gimp_is_canonical_identifier (procedure_name), NULL);
g_return_val_if_fail (arguments != NULL, NULL);
proc_run.name = (gchar *) procedure_name;
proc_run.n_params = gimp_value_array_length (arguments);
proc_run.params = _gimp_value_array_to_gp_params (arguments, FALSE);
if (! gp_proc_run_write (_gimp_plug_in_get_write_channel (pdb->priv->plug_in),
&proc_run, pdb->priv->plug_in))
gimp_quit ();
_gimp_gp_params_free (proc_run.params, proc_run.n_params, FALSE);
_gimp_plug_in_read_expect_msg (pdb->priv->plug_in, &msg, GP_PROC_RETURN);
proc_return = msg.data;
return_values = _gimp_gp_params_to_value_array (NULL,
NULL, 0,
proc_return->params,
proc_return->n_params,
TRUE);
gimp_wire_destroy (&msg);
gimp_pdb_set_error (pdb, return_values);
return return_values;
}
/**
* gimp_pdb_run_procedure_config:
* @pdb: the #GimpPDB object.
@ -401,7 +348,7 @@ gimp_pdb_run_procedure_config (GimpPDB *pdb,
args = gimp_procedure_new_arguments (procedure);
_gimp_procedure_config_get_values (config, args);
return_values = gimp_pdb_run_procedure_array (pdb, procedure_name, args);
return_values = _gimp_pdb_run_procedure_array (pdb, procedure_name, args);
gimp_value_array_unref (args);
@ -673,6 +620,59 @@ gimp_pdb_set_data (const gchar *identifier,
return ret;
}
/**
* _gimp_pdb_run_procedure_array:
* @pdb: the #GimpPDB object.
* @procedure_name: the procedure registered name.
* @arguments: the call arguments.
*
* Runs the procedure named @procedure_name with @arguments.
*
* Returns: (transfer full): the return values for the procedure call.
*
* Since: 3.0
*/
GimpValueArray *
_gimp_pdb_run_procedure_array (GimpPDB *pdb,
const gchar *procedure_name,
const GimpValueArray *arguments)
{
GPProcRun proc_run;
GPProcReturn *proc_return;
GimpWireMessage msg;
GimpValueArray *return_values;
g_return_val_if_fail (GIMP_IS_PDB (pdb), NULL);
g_return_val_if_fail (gimp_is_canonical_identifier (procedure_name), NULL);
g_return_val_if_fail (arguments != NULL, NULL);
proc_run.name = (gchar *) procedure_name;
proc_run.n_params = gimp_value_array_length (arguments);
proc_run.params = _gimp_value_array_to_gp_params (arguments, FALSE);
if (! gp_proc_run_write (_gimp_plug_in_get_write_channel (pdb->priv->plug_in),
&proc_run, pdb->priv->plug_in))
gimp_quit ();
_gimp_gp_params_free (proc_run.params, proc_run.n_params, FALSE);
_gimp_plug_in_read_expect_msg (pdb->priv->plug_in, &msg, GP_PROC_RETURN);
proc_return = msg.data;
return_values = _gimp_gp_params_to_value_array (NULL,
NULL, 0,
proc_return->params,
proc_return->n_params,
TRUE);
gimp_wire_destroy (&msg);
gimp_pdb_set_error (pdb, return_values);
return return_values;
}
/* private functions */

View File

@ -81,9 +81,6 @@ GimpValueArray * gimp_pdb_run_procedure_valist (GimpPDB *pdb,
const gchar *procedure_name,
const gchar *first_arg_name,
va_list args);
GimpValueArray * gimp_pdb_run_procedure_array (GimpPDB *pdb,
const gchar *procedure_name,
const GimpValueArray *arguments);
GimpValueArray * gimp_pdb_run_procedure_config (GimpPDB *pdb,
const gchar *procedure_name,
GimpProcedureConfig *config);
@ -115,6 +112,12 @@ gboolean gimp_pdb_set_data (const gchar *identifier,
gconstpointer data,
guint32 data_len);
/* Internal use */
G_GNUC_INTERNAL GimpValueArray * _gimp_pdb_run_procedure_array (GimpPDB *pdb,
const gchar *procedure_name,
const GimpValueArray *arguments);
G_END_DECLS

View File

@ -48,9 +48,9 @@ _gimp_pdb_temp_name (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-temp-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-temp-name",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -84,9 +84,9 @@ _gimp_pdb_dump (GFile *file)
G_TYPE_FILE, file,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-dump",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-dump",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -149,9 +149,9 @@ _gimp_pdb_query (const gchar *name,
G_TYPE_STRING, proc_type,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-query",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-query",
args);
gimp_value_array_unref (args);
*procedure_names = NULL;
@ -190,9 +190,9 @@ _gimp_pdb_proc_exists (const gchar *procedure_name)
G_TYPE_STRING, procedure_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-proc-exists",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-proc-exists",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -235,9 +235,9 @@ _gimp_pdb_get_proc_info (const gchar *procedure_name,
G_TYPE_STRING, procedure_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-info",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-info",
args);
gimp_value_array_unref (args);
*proc_type = 0;
@ -286,9 +286,9 @@ _gimp_pdb_get_proc_argument (const gchar *procedure_name,
G_TYPE_INT, arg_num,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-argument",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-argument",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -328,9 +328,9 @@ _gimp_pdb_get_proc_return_value (const gchar *procedure_name,
G_TYPE_INT, val_num,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-return-value",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-return-value",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -368,9 +368,9 @@ _gimp_pdb_set_proc_image_types (const gchar *procedure_name,
G_TYPE_STRING, image_types,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-proc-image-types",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-proc-image-types",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -406,9 +406,9 @@ _gimp_pdb_get_proc_image_types (const gchar *procedure_name)
G_TYPE_STRING, procedure_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-image-types",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-image-types",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -445,9 +445,9 @@ _gimp_pdb_set_proc_sensitivity_mask (const gchar *procedure_name,
G_TYPE_INT, mask,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-proc-sensitivity-mask",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-proc-sensitivity-mask",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -483,9 +483,9 @@ _gimp_pdb_set_proc_menu_label (const gchar *procedure_name,
G_TYPE_STRING, menu_label,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-proc-menu-label",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-proc-menu-label",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -519,9 +519,9 @@ _gimp_pdb_get_proc_menu_label (const gchar *procedure_name)
G_TYPE_STRING, procedure_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-menu-label",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-menu-label",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -559,9 +559,9 @@ _gimp_pdb_add_proc_menu_path (const gchar *procedure_name,
G_TYPE_STRING, menu_path,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-add-proc-menu-path",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-add-proc-menu-path",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -596,9 +596,9 @@ _gimp_pdb_get_proc_menu_paths (const gchar *procedure_name)
G_TYPE_STRING, procedure_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-menu-paths",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-menu-paths",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -638,9 +638,9 @@ _gimp_pdb_set_proc_icon (const gchar *procedure_name,
G_TYPE_BYTES, icon_data,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-proc-icon",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-proc-icon",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -682,9 +682,9 @@ _gimp_pdb_set_proc_documentation (const gchar *procedure_name,
G_TYPE_STRING, help_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-proc-documentation",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-proc-documentation",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -725,9 +725,9 @@ _gimp_pdb_get_proc_documentation (const gchar *procedure_name,
G_TYPE_STRING, procedure_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-documentation",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-documentation",
args);
gimp_value_array_unref (args);
*blurb = NULL;
@ -780,9 +780,9 @@ _gimp_pdb_set_proc_attribution (const gchar *procedure_name,
G_TYPE_STRING, date,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-proc-attribution",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-proc-attribution",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -823,9 +823,9 @@ _gimp_pdb_get_proc_attribution (const gchar *procedure_name,
G_TYPE_STRING, procedure_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-attribution",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-proc-attribution",
args);
gimp_value_array_unref (args);
*authors = NULL;
@ -877,9 +877,9 @@ _gimp_pdb_set_file_proc_load_handler (const gchar *procedure_name,
G_TYPE_STRING, magics,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-load-handler",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-load-handler",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -917,9 +917,9 @@ _gimp_pdb_set_file_proc_save_handler (const gchar *procedure_name,
G_TYPE_STRING, prefixes,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-save-handler",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-save-handler",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -959,9 +959,9 @@ _gimp_pdb_set_file_proc_priority (const gchar *procedure_name,
G_TYPE_INT, priority,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-priority",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-priority",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1002,9 +1002,9 @@ _gimp_pdb_set_file_proc_mime_types (const gchar *procedure_name,
G_TYPE_STRING, mime_types,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-mime-types",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-mime-types",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1040,9 +1040,9 @@ _gimp_pdb_set_file_proc_handles_remote (const gchar *procedure_name)
G_TYPE_STRING, procedure_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-handles-remote",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-handles-remote",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1078,9 +1078,9 @@ _gimp_pdb_set_file_proc_handles_raw (const gchar *procedure_name)
G_TYPE_STRING, procedure_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-handles-raw",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-handles-raw",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1121,9 +1121,9 @@ _gimp_pdb_set_file_proc_thumbnail_loader (const gchar *load_proc,
G_TYPE_STRING, thumb_proc,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-thumbnail-loader",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-file-proc-thumbnail-loader",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1160,9 +1160,9 @@ _gimp_pdb_set_batch_interpreter (const gchar *procedure_name,
G_TYPE_STRING, interpreter_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-batch-interpreter",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-batch-interpreter",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1198,9 +1198,9 @@ _gimp_pdb_get_data (const gchar *identifier,
G_TYPE_STRING, identifier,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-data",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-data",
args);
gimp_value_array_unref (args);
*data = NULL;
@ -1238,9 +1238,9 @@ _gimp_pdb_get_data_size (const gchar *identifier)
G_TYPE_STRING, identifier,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-data-size",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-get-data-size",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1277,9 +1277,9 @@ _gimp_pdb_set_data (const gchar *identifier,
G_TYPE_BYTES, data,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-data",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-pdb-set-data",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -177,9 +177,9 @@ gimp_pdb_procedure_run (GimpProcedure *procedure,
{
GimpPDBProcedure *pdb_procedure = GIMP_PDB_PROCEDURE (procedure);
return gimp_pdb_run_procedure_array (pdb_procedure->priv->pdb,
gimp_procedure_get_name (procedure),
(GimpValueArray *) args);
return _gimp_pdb_run_procedure_array (pdb_procedure->priv->pdb,
gimp_procedure_get_name (procedure),
(GimpValueArray *) args);
}

View File

@ -55,9 +55,9 @@ _gimp_plug_in_help_register (const gchar *domain_name,
G_TYPE_FILE, domain_file,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-plug-in-help-register",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-plug-in-help-register",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -96,9 +96,9 @@ _gimp_plug_in_menu_branch_register (const gchar *menu_path,
G_TYPE_STRING, menu_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-plug-in-menu-branch-register",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-plug-in-menu-branch-register",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -138,9 +138,9 @@ _gimp_plug_in_set_pdb_error_handler (GimpPDBErrorHandler handler)
GIMP_TYPE_PDB_ERROR_HANDLER, handler,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-plug-in-set-pdb-error-handler",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-plug-in-set-pdb-error-handler",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -173,9 +173,9 @@ _gimp_plug_in_get_pdb_error_handler (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-plug-in-get-pdb-error-handler",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-plug-in-get-pdb-error-handler",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -61,9 +61,9 @@ _gimp_progress_init (const gchar *message,
GIMP_TYPE_DISPLAY, gdisplay,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-init",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-init",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -95,9 +95,9 @@ _gimp_progress_update (gdouble percentage)
G_TYPE_DOUBLE, percentage,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-update",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-update",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -132,9 +132,9 @@ gimp_progress_pulse (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-pulse",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-pulse",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -169,9 +169,9 @@ gimp_progress_set_text (const gchar *message)
G_TYPE_STRING, message,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-set-text",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-set-text",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -204,9 +204,9 @@ gimp_progress_end (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-end",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-end",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -242,9 +242,9 @@ gimp_progress_get_window_handle (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-get-window-handle",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-get-window-handle",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -281,9 +281,9 @@ _gimp_progress_install (const gchar *progress_callback)
G_TYPE_STRING, progress_callback,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-install",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-install",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -317,9 +317,9 @@ _gimp_progress_uninstall (const gchar *progress_callback)
G_TYPE_STRING, progress_callback,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-uninstall",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-uninstall",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -352,9 +352,9 @@ gimp_progress_cancel (const gchar *progress_callback)
G_TYPE_STRING, progress_callback,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-cancel",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-progress-cancel",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -62,9 +62,9 @@ _gimp_resource_get_by_name (const gchar *type_name,
G_TYPE_STRING, resource_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-get-by-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-get-by-name",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -109,9 +109,9 @@ _gimp_resource_get_by_identifiers (const gchar *type_name,
G_TYPE_BOOLEAN, is_internal,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-get-by-identifiers",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-get-by-identifiers",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -146,9 +146,9 @@ gimp_resource_id_is_valid (gint resource_id)
G_TYPE_INT, resource_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-id-is-valid",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-id-is-valid",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -182,9 +182,9 @@ gimp_resource_id_is_brush (gint resource_id)
G_TYPE_INT, resource_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-id-is-brush",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-id-is-brush",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -219,9 +219,9 @@ gimp_resource_id_is_pattern (gint resource_id)
G_TYPE_INT, resource_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-id-is-pattern",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-id-is-pattern",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -256,9 +256,9 @@ gimp_resource_id_is_gradient (gint resource_id)
G_TYPE_INT, resource_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-id-is-gradient",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-id-is-gradient",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -293,9 +293,9 @@ gimp_resource_id_is_palette (gint resource_id)
G_TYPE_INT, resource_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-id-is-palette",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-id-is-palette",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -329,9 +329,9 @@ gimp_resource_id_is_font (gint resource_id)
G_TYPE_INT, resource_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-id-is-font",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-id-is-font",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -366,9 +366,9 @@ gimp_resource_get_name (GimpResource *resource)
GIMP_TYPE_RESOURCE, resource,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-get-name",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-get-name",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -416,9 +416,9 @@ _gimp_resource_get_identifiers (GimpResource *resource,
GIMP_TYPE_RESOURCE, resource,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-get-identifiers",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-get-identifiers",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -456,9 +456,9 @@ gimp_resource_is_editable (GimpResource *resource)
GIMP_TYPE_RESOURCE, resource,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-is-editable",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-is-editable",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -492,9 +492,9 @@ gimp_resource_duplicate (GimpResource *resource)
GIMP_TYPE_RESOURCE, resource,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-duplicate",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-duplicate",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -533,9 +533,9 @@ gimp_resource_rename (GimpResource *resource,
G_TYPE_STRING, new_name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-rename",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-rename",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -570,9 +570,9 @@ gimp_resource_delete (GimpResource *resource)
GIMP_TYPE_RESOURCE, resource,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-delete",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-resource-delete",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -74,9 +74,9 @@ gimp_selection_bounds (GimpImage *image,
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-bounds",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-bounds",
args);
gimp_value_array_unref (args);
*non_empty = FALSE;
@ -129,9 +129,9 @@ gimp_selection_value (GimpImage *image,
G_TYPE_INT, y,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-value",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-value",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -164,9 +164,9 @@ gimp_selection_is_empty (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-is-empty",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-is-empty",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -208,9 +208,9 @@ gimp_selection_translate (GimpImage *image,
G_TYPE_INT, offy,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-translate",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-translate",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -256,9 +256,9 @@ _gimp_selection_float (gint num_drawables,
G_TYPE_NONE);
gimp_value_set_object_array (gimp_value_array_index (args, 1), GIMP_TYPE_ITEM, (GObject **) drawables, num_drawables);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-float",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-float",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -291,9 +291,9 @@ gimp_selection_invert (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-invert",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-invert",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -327,9 +327,9 @@ gimp_selection_sharpen (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-sharpen",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-sharpen",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -361,9 +361,9 @@ gimp_selection_all (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-all",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-all",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -395,9 +395,9 @@ gimp_selection_none (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-none",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-none",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -432,9 +432,9 @@ gimp_selection_feather (GimpImage *image,
G_TYPE_DOUBLE, radius,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-feather",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-feather",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -470,9 +470,9 @@ gimp_selection_border (GimpImage *image,
G_TYPE_INT, radius,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-border",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-border",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -507,9 +507,9 @@ gimp_selection_grow (GimpImage *image,
G_TYPE_INT, steps,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-grow",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-grow",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -545,9 +545,9 @@ gimp_selection_shrink (GimpImage *image,
G_TYPE_INT, steps,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-shrink",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-shrink",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -583,9 +583,9 @@ gimp_selection_flood (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-flood",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-flood",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -618,9 +618,9 @@ gimp_selection_save (GimpImage *image)
GIMP_TYPE_IMAGE, image,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-save",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-selection-save",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -76,9 +76,9 @@ _gimp_text_layer_new (GimpImage *image,
GIMP_TYPE_UNIT, unit,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-new",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-new",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -113,9 +113,9 @@ gimp_text_layer_get_text (GimpTextLayer *layer)
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-text",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-text",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -152,9 +152,9 @@ gimp_text_layer_set_text (GimpTextLayer *layer,
G_TYPE_STRING, text,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-text",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-text",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -192,9 +192,9 @@ gimp_text_layer_get_markup (GimpTextLayer *layer)
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-markup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-markup",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -236,9 +236,9 @@ gimp_text_layer_set_markup (GimpTextLayer *layer,
G_TYPE_STRING, markup,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-markup",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-markup",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -272,9 +272,9 @@ gimp_text_layer_get_font (GimpTextLayer *layer)
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-font",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-font",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -311,9 +311,9 @@ gimp_text_layer_set_font (GimpTextLayer *layer,
GIMP_TYPE_FONT, font,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-font",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-font",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -350,9 +350,9 @@ gimp_text_layer_get_font_size (GimpTextLayer *layer,
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-font-size",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-font-size",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -396,9 +396,9 @@ gimp_text_layer_set_font_size (GimpTextLayer *layer,
GIMP_TYPE_UNIT, unit,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-font-size",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-font-size",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -432,9 +432,9 @@ gimp_text_layer_get_antialias (GimpTextLayer *layer)
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-antialias",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-antialias",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -472,9 +472,9 @@ gimp_text_layer_set_antialias (GimpTextLayer *layer,
G_TYPE_BOOLEAN, antialias,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-antialias",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-antialias",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -509,9 +509,9 @@ gimp_text_layer_get_hint_style (GimpTextLayer *layer)
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-hint-style",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-hint-style",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -550,9 +550,9 @@ gimp_text_layer_set_hint_style (GimpTextLayer *layer,
GIMP_TYPE_TEXT_HINT_STYLE, style,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-hint-style",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-hint-style",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -586,9 +586,9 @@ gimp_text_layer_get_kerning (GimpTextLayer *layer)
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-kerning",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-kerning",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -625,9 +625,9 @@ gimp_text_layer_set_kerning (GimpTextLayer *layer,
G_TYPE_BOOLEAN, kerning,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-kerning",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-kerning",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -662,9 +662,9 @@ gimp_text_layer_get_language (GimpTextLayer *layer)
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-language",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-language",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -702,9 +702,9 @@ gimp_text_layer_set_language (GimpTextLayer *layer,
G_TYPE_STRING, language,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-language",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-language",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -738,9 +738,9 @@ gimp_text_layer_get_base_direction (GimpTextLayer *layer)
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-base-direction",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-base-direction",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -778,9 +778,9 @@ gimp_text_layer_set_base_direction (GimpTextLayer *layer,
GIMP_TYPE_TEXT_DIRECTION, direction,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-base-direction",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-base-direction",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -814,9 +814,9 @@ gimp_text_layer_get_justification (GimpTextLayer *layer)
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-justification",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-justification",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -854,9 +854,9 @@ gimp_text_layer_set_justification (GimpTextLayer *layer,
GIMP_TYPE_TEXT_JUSTIFICATION, justify,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-justification",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-justification",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -891,9 +891,9 @@ gimp_text_layer_get_color (GimpTextLayer *layer,
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -932,9 +932,9 @@ gimp_text_layer_set_color (GimpTextLayer *layer,
GIMP_TYPE_RGB, color,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-color",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-color",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -968,9 +968,9 @@ gimp_text_layer_get_indent (GimpTextLayer *layer)
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-indent",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-indent",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1008,9 +1008,9 @@ gimp_text_layer_set_indent (GimpTextLayer *layer,
G_TYPE_DOUBLE, indent,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-indent",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-indent",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1044,9 +1044,9 @@ gimp_text_layer_get_line_spacing (GimpTextLayer *layer)
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-line-spacing",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-line-spacing",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1084,9 +1084,9 @@ gimp_text_layer_set_line_spacing (GimpTextLayer *layer,
G_TYPE_DOUBLE, line_spacing,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-line-spacing",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-line-spacing",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1120,9 +1120,9 @@ gimp_text_layer_get_letter_spacing (GimpTextLayer *layer)
GIMP_TYPE_TEXT_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-letter-spacing",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-get-letter-spacing",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1160,9 +1160,9 @@ gimp_text_layer_set_letter_spacing (GimpTextLayer *layer,
G_TYPE_DOUBLE, letter_spacing,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-letter-spacing",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-set-letter-spacing",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1203,9 +1203,9 @@ gimp_text_layer_resize (GimpTextLayer *layer,
G_TYPE_DOUBLE, height,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-resize",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-layer-resize",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;

View File

@ -92,9 +92,9 @@ gimp_text_font (GimpImage *image,
GIMP_TYPE_FONT, font,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-font",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-font",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -150,9 +150,9 @@ gimp_text_get_extents_font (const gchar *text,
GIMP_TYPE_FONT, font,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-get-extents-font",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-text-get-extents-font",
args);
gimp_value_array_unref (args);
*width = 0;

View File

@ -46,9 +46,9 @@ _gimp_unit_get_number_of_units (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-number-of-units",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-number-of-units",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -78,9 +78,9 @@ _gimp_unit_get_number_of_built_in_units (void)
args = gimp_value_array_new_from_types (NULL,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-number-of-built-in-units",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-number-of-built-in-units",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -133,9 +133,9 @@ _gimp_unit_new (const gchar *identifier,
G_TYPE_STRING, plural,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-new",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-new",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -169,9 +169,9 @@ _gimp_unit_get_deletion_flag (GimpUnit unit_id)
GIMP_TYPE_UNIT, unit_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-deletion-flag",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-deletion-flag",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -208,9 +208,9 @@ _gimp_unit_set_deletion_flag (GimpUnit unit_id,
G_TYPE_BOOLEAN, deletion_flag,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-set-deletion-flag",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-set-deletion-flag",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -244,9 +244,9 @@ _gimp_unit_get_identifier (GimpUnit unit_id)
GIMP_TYPE_UNIT, unit_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-identifier",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-identifier",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -280,9 +280,9 @@ _gimp_unit_get_factor (GimpUnit unit_id)
GIMP_TYPE_UNIT, unit_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-factor",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-factor",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -317,9 +317,9 @@ _gimp_unit_get_digits (GimpUnit unit_id)
GIMP_TYPE_UNIT, unit_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-digits",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-digits",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -352,9 +352,9 @@ _gimp_unit_get_symbol (GimpUnit unit_id)
GIMP_TYPE_UNIT, unit_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-symbol",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-symbol",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -388,9 +388,9 @@ _gimp_unit_get_abbreviation (GimpUnit unit_id)
GIMP_TYPE_UNIT, unit_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-abbreviation",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-abbreviation",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -423,9 +423,9 @@ _gimp_unit_get_singular (GimpUnit unit_id)
GIMP_TYPE_UNIT, unit_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-singular",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-singular",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -458,9 +458,9 @@ _gimp_unit_get_plural (GimpUnit unit_id)
GIMP_TYPE_UNIT, unit_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-plural",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-unit-get-plural",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -64,9 +64,9 @@ gimp_vectors_new (GimpImage *image,
G_TYPE_STRING, name,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-new",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-new",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -104,9 +104,9 @@ gimp_vectors_new_from_text_layer (GimpImage *image,
GIMP_TYPE_LAYER, layer,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-new-from-text-layer",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-new-from-text-layer",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -141,9 +141,9 @@ gimp_vectors_copy (GimpVectors *vectors)
GIMP_TYPE_VECTORS, vectors,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-copy",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-copy",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -182,9 +182,9 @@ gimp_vectors_get_strokes (GimpVectors *vectors,
GIMP_TYPE_VECTORS, vectors,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-get-strokes",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-get-strokes",
args);
gimp_value_array_unref (args);
*num_strokes = 0;
@ -229,9 +229,9 @@ gimp_vectors_stroke_get_length (GimpVectors *vectors,
G_TYPE_DOUBLE, precision,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-get-length",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-get-length",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -287,9 +287,9 @@ gimp_vectors_stroke_get_point_at_dist (GimpVectors *vectors,
G_TYPE_DOUBLE, precision,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-get-point-at-dist",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-get-point-at-dist",
args);
gimp_value_array_unref (args);
*x_point = 0.0;
@ -338,9 +338,9 @@ gimp_vectors_remove_stroke (GimpVectors *vectors,
G_TYPE_INT, stroke_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-remove-stroke",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-remove-stroke",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -376,9 +376,9 @@ gimp_vectors_stroke_close (GimpVectors *vectors,
G_TYPE_INT, stroke_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-close",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-close",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -414,9 +414,9 @@ gimp_vectors_stroke_reverse (GimpVectors *vectors,
G_TYPE_INT, stroke_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-reverse",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-reverse",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -458,9 +458,9 @@ gimp_vectors_stroke_translate (GimpVectors *vectors,
G_TYPE_DOUBLE, off_y,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-translate",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-translate",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -502,9 +502,9 @@ gimp_vectors_stroke_scale (GimpVectors *vectors,
G_TYPE_DOUBLE, scale_y,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-scale",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-scale",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -549,9 +549,9 @@ gimp_vectors_stroke_rotate (GimpVectors *vectors,
G_TYPE_DOUBLE, angle,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-rotate",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-rotate",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -593,9 +593,9 @@ gimp_vectors_stroke_flip (GimpVectors *vectors,
G_TYPE_DOUBLE, axis,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-flip",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-flip",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -645,9 +645,9 @@ gimp_vectors_stroke_flip_free (GimpVectors *vectors,
G_TYPE_DOUBLE, y2,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-flip-free",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-flip-free",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -692,9 +692,9 @@ gimp_vectors_stroke_get_points (GimpVectors *vectors,
G_TYPE_INT, stroke_id,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-get-points",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-get-points",
args);
gimp_value_array_unref (args);
*num_points = 0;
@ -755,9 +755,9 @@ gimp_vectors_stroke_new_from_points (GimpVectors *vectors,
G_TYPE_NONE);
gimp_value_set_float_array (gimp_value_array_index (args, 3), controlpoints, num_points);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-new-from-points",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-new-from-points",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -803,9 +803,9 @@ gimp_vectors_stroke_interpolate (GimpVectors *vectors,
G_TYPE_DOUBLE, precision,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-interpolate",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-stroke-interpolate",
args);
gimp_value_array_unref (args);
*num_coords = 0;
@ -851,9 +851,9 @@ gimp_vectors_bezier_stroke_new_moveto (GimpVectors *vectors,
G_TYPE_DOUBLE, y0,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-bezier-stroke-new-moveto",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-bezier-stroke-new-moveto",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -896,9 +896,9 @@ gimp_vectors_bezier_stroke_lineto (GimpVectors *vectors,
G_TYPE_DOUBLE, y0,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-bezier-stroke-lineto",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-bezier-stroke-lineto",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -948,9 +948,9 @@ gimp_vectors_bezier_stroke_conicto (GimpVectors *vectors,
G_TYPE_DOUBLE, y1,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-bezier-stroke-conicto",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-bezier-stroke-conicto",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1004,9 +1004,9 @@ gimp_vectors_bezier_stroke_cubicto (GimpVectors *vectors,
G_TYPE_DOUBLE, y2,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-bezier-stroke-cubicto",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-bezier-stroke-cubicto",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1054,9 +1054,9 @@ gimp_vectors_bezier_stroke_new_ellipse (GimpVectors *vectors,
G_TYPE_DOUBLE, angle,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-bezier-stroke-new-ellipse",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-bezier-stroke-new-ellipse",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)
@ -1104,9 +1104,9 @@ gimp_vectors_import_from_file (GimpImage *image,
G_TYPE_BOOLEAN, scale,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-import-from-file",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-import-from-file",
args);
gimp_value_array_unref (args);
*num_vectors = 0;
@ -1166,9 +1166,9 @@ gimp_vectors_import_from_string (GimpImage *image,
G_TYPE_BOOLEAN, scale,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-import-from-string",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-import-from-string",
args);
gimp_value_array_unref (args);
*num_vectors = 0;
@ -1219,9 +1219,9 @@ gimp_vectors_export_to_file (GimpImage *image,
GIMP_TYPE_VECTORS, vectors,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-export-to-file",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-export-to-file",
args);
gimp_value_array_unref (args);
success = GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS;
@ -1262,9 +1262,9 @@ gimp_vectors_export_to_string (GimpImage *image,
GIMP_TYPE_VECTORS, vectors,
G_TYPE_NONE);
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-export-to-string",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-vectors-export-to-string",
args);
gimp_value_array_unref (args);
if (GIMP_VALUES_GET_ENUM (return_vals, 0) == GIMP_PDB_SUCCESS)

View File

@ -534,9 +534,9 @@ $wrapped$funcname ($clist)
args = gimp_value_array_new_from_types (NULL,
${value_array}G_TYPE_NONE);
$arg_array
return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-$proc->{canonical_name}",
args);
return_vals = _gimp_pdb_run_procedure_array (gimp_get_pdb (),
"gimp-$proc->{canonical_name}",
args);
gimp_value_array_unref (args);
$return_marshal