Commit 8cffac44 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

added new member "gboolean static_proc" which indicates whether a

2006-03-31  Michael Natterer  <mitch@gimp.org>

	* app/pdb/gimpprocedure.[ch] (struct ProcRecord): added new member
	"gboolean static_proc" which indicates whether a ProcRecord struct
	and its strings are static.

	(gimp_procedure_dispose): new function which frees the procedure's
	args and values, and its strings if it is not static.

	* app/xcf/xcf.c
	* tools/pdbgen/app.pl: set "static_proc" to TRUE for static procs.

	* app/pdb/procedural_db.c (procedural_db_free): call
	gimp_procedure_free() or gimp_procedure_dispose(), depending on
	procedure->static_proc.

	* app/pdb/procedural_db.h: removed #if 0'ed cruft.

	* app/plug-in/plug-in-proc-def.[ch]: removed
	plug_in_proc_def_get_proc().

	* app/file/file-open.c
	* app/file/file-save.c
	* tools/pdbgen/pdb/fileops.pdb: access proc_def->procedure directly.

	* app/pdb/*_cmds.c: regenerated.
parent 9996bb7a
2006-03-31 Michael Natterer <mitch@gimp.org>
* app/pdb/gimpprocedure.[ch] (struct ProcRecord): added new member
"gboolean static_proc" which indicates whether a ProcRecord struct
and its strings are static.
(gimp_procedure_dispose): new function which frees the procedure's
args and values, and its strings if it is not static.
* app/xcf/xcf.c
* tools/pdbgen/app.pl: set "static_proc" to TRUE for static procs.
* app/pdb/procedural_db.c (procedural_db_free): call
gimp_procedure_free() or gimp_procedure_dispose(), depending on
procedure->static_proc.
* app/pdb/procedural_db.h: removed #if 0'ed cruft.
* app/plug-in/plug-in-proc-def.[ch]: removed
plug_in_proc_def_get_proc().
* app/file/file-open.c
* app/file/file-save.c
* tools/pdbgen/pdb/fileops.pdb: access proc_def->procedure directly.
* app/pdb/*_cmds.c: regenerated.
2006-03-31 Sven Neumann <sven@gimp.org>
* app/dialogs/Makefile.am
......
......@@ -86,11 +86,10 @@ file_open_image (Gimp *gimp,
const gchar **mime_type,
GError **error)
{
const ProcRecord *proc;
Argument *return_vals;
gint n_return_vals;
gchar *filename;
GimpImage *image = NULL;
Argument *return_vals;
gint n_return_vals;
gchar *filename;
GimpImage *image = NULL;
g_return_val_if_fail (GIMP_IS_GIMP (gimp), NULL);
g_return_val_if_fail (GIMP_IS_CONTEXT (context), NULL);
......@@ -139,10 +138,8 @@ file_open_image (Gimp *gimp,
filename = g_strdup (uri);
}
proc = plug_in_proc_def_get_proc (file_proc);
return_vals = procedural_db_run_proc (gimp, context, progress,
proc->name,
file_proc->procedure->name,
&n_return_vals,
GIMP_PDB_INT32, run_mode,
GIMP_PDB_STRING, filename,
......
......@@ -78,7 +78,6 @@ file_save (GimpImage *image,
gboolean save_a_copy,
GError **error)
{
const ProcRecord *proc;
Argument *return_vals;
gint n_return_vals;
GimpPDBStatusType status;
......@@ -128,11 +127,9 @@ file_save (GimpImage *image,
/* ref the image, so it can't get deleted during save */
g_object_ref (image);
proc = plug_in_proc_def_get_proc (file_proc);
return_vals =
procedural_db_run_proc (image->gimp, context, progress,
proc->name,
file_proc->procedure->name,
&n_return_vals,
GIMP_PDB_INT32, run_mode,
GIMP_PDB_IMAGE, gimp_image_get_ID (image),
......
......@@ -685,6 +685,7 @@ brush_new_invoker (ProcRecord *proc_record,
static ProcRecord brush_new_proc =
{
TRUE,
"gimp-brush-new",
"gimp-brush-new",
"Creates a new brush",
......@@ -742,6 +743,7 @@ brush_duplicate_invoker (ProcRecord *proc_record,
static ProcRecord brush_duplicate_proc =
{
TRUE,
"gimp-brush-duplicate",
"gimp-brush-duplicate",
"Duplicates a brush",
......@@ -790,6 +792,7 @@ brush_is_generated_invoker (ProcRecord *proc_record,
static ProcRecord brush_is_generated_proc =
{
TRUE,
"gimp-brush-is-generated",
"gimp-brush-is-generated",
"Tests if brush is generated",
......@@ -843,6 +846,7 @@ brush_rename_invoker (ProcRecord *proc_record,
static ProcRecord brush_rename_proc =
{
TRUE,
"gimp-brush-rename",
"gimp-brush-rename",
"Rename a brush",
......@@ -896,6 +900,7 @@ brush_delete_invoker (ProcRecord *proc_record,
static ProcRecord brush_delete_proc =
{
TRUE,
"gimp-brush-delete",
"gimp-brush-delete",
"Deletes a brush",
......@@ -944,6 +949,7 @@ brush_is_editable_invoker (ProcRecord *proc_record,
static ProcRecord brush_is_editable_proc =
{
TRUE,
"gimp-brush-is-editable",
"gimp-brush-is-editable",
"Tests if brush can be edited",
......@@ -1005,6 +1011,7 @@ brush_get_info_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_info_proc =
{
TRUE,
"gimp-brush-get-info",
"gimp-brush-get-info",
"Retrieve information about the specified brush.",
......@@ -1083,6 +1090,7 @@ brush_get_pixels_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_pixels_proc =
{
TRUE,
"gimp-brush-get-pixels",
"gimp-brush-get-pixels",
"Retrieve information about the specified brush.",
......@@ -1131,6 +1139,7 @@ brush_get_spacing_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_spacing_proc =
{
TRUE,
"gimp-brush-get-spacing",
"gimp-brush-get-spacing",
"Get the brush spacing.",
......@@ -1174,6 +1183,7 @@ brush_set_spacing_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_spacing_proc =
{
TRUE,
"gimp-brush-set-spacing",
"gimp-brush-set-spacing",
"Set the brush spacing.",
......@@ -1222,6 +1232,7 @@ brush_get_shape_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_shape_proc =
{
TRUE,
"gimp-brush-get-shape",
"gimp-brush-get-shape",
"Get the shape of a generated brush.",
......@@ -1270,6 +1281,7 @@ brush_get_radius_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_radius_proc =
{
TRUE,
"gimp-brush-get-radius",
"gimp-brush-get-radius",
"Get the radius of a generated brush.",
......@@ -1318,6 +1330,7 @@ brush_get_spikes_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_spikes_proc =
{
TRUE,
"gimp-brush-get-spikes",
"gimp-brush-get-spikes",
"Get the number of spikes for a generated brush.",
......@@ -1366,6 +1379,7 @@ brush_get_hardness_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_hardness_proc =
{
TRUE,
"gimp-brush-get-hardness",
"gimp-brush-get-hardness",
"Get the hardness of a generated brush.",
......@@ -1414,6 +1428,7 @@ brush_get_aspect_ratio_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_aspect_ratio_proc =
{
TRUE,
"gimp-brush-get-aspect-ratio",
"gimp-brush-get-aspect-ratio",
"Get the aspect ratio of a generated brush.",
......@@ -1462,6 +1477,7 @@ brush_get_angle_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_angle_proc =
{
TRUE,
"gimp-brush-get-angle",
"gimp-brush-get-angle",
"Get the rotation angle of a generated brush.",
......@@ -1516,6 +1532,7 @@ brush_set_shape_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_shape_proc =
{
TRUE,
"gimp-brush-set-shape",
"gimp-brush-set-shape",
"Set the shape of a generated brush.",
......@@ -1570,6 +1587,7 @@ brush_set_radius_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_radius_proc =
{
TRUE,
"gimp-brush-set-radius",
"gimp-brush-set-radius",
"Set the radius of a generated brush.",
......@@ -1624,6 +1642,7 @@ brush_set_spikes_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_spikes_proc =
{
TRUE,
"gimp-brush-set-spikes",
"gimp-brush-set-spikes",
"Set the number of spikes for a generated brush.",
......@@ -1678,6 +1697,7 @@ brush_set_hardness_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_hardness_proc =
{
TRUE,
"gimp-brush-set-hardness",
"gimp-brush-set-hardness",
"Set the hardness of a generated brush.",
......@@ -1732,6 +1752,7 @@ brush_set_aspect_ratio_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_aspect_ratio_proc =
{
TRUE,
"gimp-brush-set-aspect-ratio",
"gimp-brush-set-aspect-ratio",
"Set the aspect ratio of a generated brush.",
......@@ -1786,6 +1807,7 @@ brush_set_angle_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_angle_proc =
{
TRUE,
"gimp-brush-set-angle",
"gimp-brush-set-angle",
"Set the rotation angle of a generated brush.",
......
......@@ -192,6 +192,7 @@ brushes_popup_invoker (ProcRecord *proc_record,
static ProcRecord brushes_popup_proc =
{
TRUE,
"gimp-brushes-popup",
"gimp-brushes-popup",
"Invokes the Gimp brush selection.",
......@@ -231,6 +232,7 @@ brushes_close_popup_invoker (ProcRecord *proc_record,
static ProcRecord brushes_close_popup_proc =
{
TRUE,
"gimp-brushes-close-popup",
"gimp-brushes-close-popup",
"Popdown the Gimp brush selection.",
......@@ -282,6 +284,7 @@ brushes_set_popup_invoker (ProcRecord *proc_record,
static ProcRecord brushes_set_popup_proc =
{
TRUE,
"gimp-brushes-set-popup",
"gimp-brushes-set-popup",
"Sets the current brush selection in a popup.",
......
......@@ -229,6 +229,7 @@ brushes_refresh_invoker (ProcRecord *proc_record,
static ProcRecord brushes_refresh_proc =
{
TRUE,
"gimp-brushes-refresh",
"gimp-brushes-refresh",
"Refresh current brushes. This function always succeeds.",
......@@ -276,6 +277,7 @@ brushes_get_list_invoker (ProcRecord *proc_record,
static ProcRecord brushes_get_list_proc =
{
TRUE,
"gimp-brushes-get-list",
"gimp-brushes-get-list",
"Retrieve a complete listing of the available brushes.",
......@@ -330,6 +332,7 @@ brushes_get_brush_invoker (ProcRecord *proc_record,
static ProcRecord brushes_get_brush_proc =
{
TRUE,
"gimp-brushes-get-brush",
"gimp-brushes-get-brush",
"This procedure is deprecated! Use 'gimp-context-get-brush' instead.",
......@@ -371,6 +374,7 @@ brushes_get_spacing_invoker (ProcRecord *proc_record,
static ProcRecord brushes_get_spacing_proc =
{
TRUE,
"gimp-brushes-get-spacing",
"gimp-brushes-get-spacing",
"This procedure is deprecated! Use 'gimp-brush-get-spacing' instead.",
......@@ -406,6 +410,7 @@ brushes_set_spacing_invoker (ProcRecord *proc_record,
static ProcRecord brushes_set_spacing_proc =
{
TRUE,
"gimp-brushes-set-spacing",
"gimp-brushes-set-spacing",
"This procedure is deprecated! Use 'gimp-brush-set-spacing' instead.",
......@@ -488,6 +493,7 @@ brushes_get_brush_data_invoker (ProcRecord *proc_record,
static ProcRecord brushes_get_brush_data_proc =
{
TRUE,
"gimp-brushes-get-brush-data",
"gimp-brushes-get-brush-data",
"This procedure is deprecated! Use 'gimp-brush-get-pixels' instead.",
......
......@@ -240,6 +240,7 @@ buffers_get_list_invoker (ProcRecord *proc_record,
static ProcRecord buffers_get_list_proc =
{
TRUE,
"gimp-buffers-get-list",
"gimp-buffers-get-list",
"Retrieve a complete listing of the available buffers.",
......@@ -293,6 +294,7 @@ buffer_rename_invoker (ProcRecord *proc_record,
static ProcRecord buffer_rename_proc =
{
TRUE,
"gimp-buffer-rename",
"gimp-buffer-rename",
"Renames a named buffer.",
......@@ -334,6 +336,7 @@ buffer_delete_invoker (ProcRecord *proc_record,
static ProcRecord buffer_delete_proc =
{
TRUE,
"gimp-buffer-delete",
"gimp-buffer-delete",
"Deletes a named buffer.",
......@@ -382,6 +385,7 @@ buffer_get_width_invoker (ProcRecord *proc_record,
static ProcRecord buffer_get_width_proc =
{
TRUE,
"gimp-buffer-get-width",
"gimp-buffer-get-width",
"Retrieves the specified buffer's width.",
......@@ -430,6 +434,7 @@ buffer_get_height_invoker (ProcRecord *proc_record,
static ProcRecord buffer_get_height_proc =
{
TRUE,
"gimp-buffer-get-height",
"gimp-buffer-get-height",
"Retrieves the specified buffer's height.",
......@@ -478,6 +483,7 @@ buffer_get_bytes_invoker (ProcRecord *proc_record,
static ProcRecord buffer_get_bytes_proc =
{
TRUE,
"gimp-buffer-get-bytes",
"gimp-buffer-get-bytes",
"Retrieves the specified buffer's bytes.",
......@@ -526,6 +532,7 @@ buffer_get_image_type_invoker (ProcRecord *proc_record,
static ProcRecord buffer_get_image_type_proc =
{
TRUE,
"gimp-buffer-get-image-type",
"gimp-buffer-get-image-type",
"Retrieves the specified buffer's image type.",
......
......@@ -383,6 +383,7 @@ channel_new_invoker (ProcRecord *proc_record,
static ProcRecord channel_new_proc =
{
TRUE,
"gimp-channel-new",
"gimp-channel-new",
"Create a new channel.",
......@@ -436,6 +437,7 @@ channel_new_from_component_invoker (ProcRecord *proc_record,
static ProcRecord channel_new_from_component_proc =
{
TRUE,
"gimp-channel-new-from-component",
"gimp-channel-new-from-component",
"Create a new channel from a color component",
......@@ -482,6 +484,7 @@ channel_copy_invoker (ProcRecord *proc_record,
static ProcRecord channel_copy_proc =
{
TRUE,
"gimp-channel-copy",
"gimp-channel-copy",
"Copy a channel.",
......@@ -525,6 +528,7 @@ channel_combine_masks_invoker (ProcRecord *proc_record,
static ProcRecord channel_combine_masks_proc =
{
TRUE,
"gimp-channel-combine-masks",
"gimp-channel-combine-masks",
"Combine two channel masks.",
......@@ -567,6 +571,7 @@ channel_get_show_masked_invoker (ProcRecord *proc_record,
static ProcRecord channel_get_show_masked_proc =
{
TRUE,
"gimp-channel-get-show-masked",
"gimp-channel-get-show-masked",
"Get the composite method of the specified channel.",
......@@ -604,6 +609,7 @@ channel_set_show_masked_invoker (ProcRecord *proc_record,
static ProcRecord channel_set_show_masked_proc =
{
TRUE,
"gimp-channel-set-show-masked",
"gimp-channel-set-show-masked",
"Set the composite method of the specified channel.",
......@@ -646,6 +652,7 @@ channel_get_opacity_invoker (ProcRecord *proc_record,
static ProcRecord channel_get_opacity_proc =
{
TRUE,
"gimp-channel-get-opacity",
"gimp-channel-get-opacity",
"Get the opacity of the specified channel.",
......@@ -683,6 +690,7 @@ channel_set_opacity_invoker (ProcRecord *proc_record,
static ProcRecord channel_set_opacity_proc =
{
TRUE,
"gimp-channel-set-opacity",
"gimp-channel-set-opacity",
"Set the opacity of the specified channel.",
......@@ -725,6 +733,7 @@ channel_get_color_invoker (ProcRecord *proc_record,
static ProcRecord channel_get_color_proc =
{
TRUE,
"gimp-channel-get-color",
"gimp-channel-get-color",
"Get the compositing color of the specified channel.",
......@@ -765,6 +774,7 @@ channel_set_color_invoker (ProcRecord *proc_record,
static ProcRecord channel_set_color_proc =
{
TRUE,
"gimp-channel-set-color",
"gimp-channel-set-color",
"Set the compositing color of the specified channel.",
......
......@@ -640,6 +640,7 @@ brightness_contrast_invoker (ProcRecord *proc_record,
static ProcRecord brightness_contrast_proc =
{
TRUE,
"gimp-brightness-contrast",
"gimp-brightness-contrast",
"Modify brightness/contrast in the specified drawable.",
......@@ -700,6 +701,7 @@ levels_invoker (ProcRecord *proc_record,
static ProcRecord levels_proc =
{
TRUE,
"gimp-levels",
"gimp-levels",
"Modifies intensity levels in the specified drawable.",
......@@ -740,6 +742,7 @@ levels_auto_invoker (ProcRecord *proc_record,
static ProcRecord levels_auto_proc =
{
TRUE,
"gimp-levels-auto",
"gimp-levels-auto",
"This procedure is deprecated! Use 'gimp_levels_stretch' instead.",
......@@ -780,6 +783,7 @@ levels_stretch_invoker (ProcRecord *proc_record,
static ProcRecord levels_stretch_proc =
{
TRUE,
"gimp-levels-stretch",
"gimp-levels-stretch",
"Automatically modifies intensity levels in the specified drawable.",
......@@ -847,6 +851,7 @@ posterize_invoker (ProcRecord *proc_record,
static ProcRecord posterize_proc =
{
TRUE,
"gimp-posterize",
"gimp-posterize",
"Posterize the specified drawable.",
......@@ -887,6 +892,7 @@ desaturate_invoker (ProcRecord *proc_record,
static ProcRecord desaturate_proc =
{
TRUE,
"gimp-desaturate",
"gimp-desaturate",
"Desaturate the contents of the specified drawable.",
......@@ -929,6 +935,7 @@ desaturate_full_invoker (ProcRecord *proc_record,
static ProcRecord desaturate_full_proc =
{
TRUE,
"gimp-desaturate-full",
"gimp-desaturate-full",
"Desaturate the contents of the specified drawable, with the specified formula.",
......@@ -971,6 +978,7 @@ equalize_invoker (ProcRecord *proc_record,
static ProcRecord equalize_proc =
{
TRUE,
"gimp-equalize",
"gimp-equalize",
"Equalize the contents of the specified drawable.",
......@@ -1011,6 +1019,7 @@ invert_invoker (ProcRecord *proc_record,
static ProcRecord invert_proc =
{
TRUE,
"gimp-invert",
"gimp-invert",
"Invert the contents of the specified drawable.",
......@@ -1112,6 +1121,7 @@ curves_spline_invoker (ProcRecord *proc_record,
static ProcRecord curves_spline_proc =
{
TRUE,
"gimp-curves-spline",
"gimp-curves-spline",
"Modifies the intensity curve(s) for specified drawable.",
......@@ -1204,6 +1214,7 @@ curves_explicit_invoker (ProcRecord *proc_record,
static ProcRecord curves_explicit_proc =
{
TRUE,
"gimp-curves-explicit",
"gimp-curves-explicit",
"Modifies the intensity curve(s) for specified drawable.",
......@@ -1284,6 +1295,7 @@ color_balance_invoker (ProcRecord *proc_record,
static ProcRecord color_balance_proc =
{
TRUE,
"gimp-color-balance",
"gimp-color-balance",
"Modify the color balance of the specified drawable.",
......@@ -1358,6 +1370,7 @@ colorize_invoker (ProcRecord *proc_record,
static ProcRecord colorize_proc =
{
TRUE,
"gimp-colorize",
"gimp-colorize",
"Render the drawable as a grayscale image seen through a colored glass.",
......@@ -1444,6 +1457,7 @@ histogram_invoker (ProcRecord *proc_record,
static ProcRecord histogram_proc =
{
TRUE,
"gimp-histogram",
"gimp-histogram",
"Returns information on the intensity histogram for the specified drawable.",
......@@ -1521,6 +1535,7 @@ hue_saturation_invoker (ProcRecord *proc_record,
static ProcRecord hue_saturation_proc =
{
TRUE,
"gimp-hue-saturation",
"gimp-hue-saturation",
"Modify hue, lightness, and saturation in the specified drawable.",
......@@ -1590,6 +1605,7 @@ threshold_invoker (ProcRecord *proc_record,
static ProcRecord threshold_proc =
{
TRUE,
"gimp-threshold",
"gimp-threshold",
"Threshold the specified drawable.",
......
......@@ -384,6 +384,7 @@ context_push_invoker (ProcRecord *proc_record,
static ProcRecord context_push_proc =
{
TRUE,
"gimp-context-push",
"gimp-context-push",
"Pushes a context to the top of the plug-in's context stack.",
......@@ -414,6 +415,7 @@ context_pop_invoker (ProcRecord *proc_record,
static ProcRecord context_pop_proc =
{
TRUE,
"gimp-context-pop",
"gimp-context-pop",
"Pops the topmost context from the plug-in's context stack.",
......@@ -455,6 +457,7 @@ context_get_paint_method_invoker (ProcRecord *proc_record,
static ProcRecord context_get_paint_method_proc =
{
TRUE,
"gimp-context-get-paint-method",
"gimp-context-get-paint-method",
"Retrieve the currently active paint method.",
......@@ -496,6 +499,7 @@ context_set_paint_method_invoker (ProcRecord *proc_record,
static ProcRecord context_set_paint_method_proc =
{
TRUE,
"gimp-context-set-paint-method",
"gimp-context-set-paint-method",
"Set the specified paint method as the active paint method.",
......@@ -529,6 +533,7 @@ context_get_foreground_invoker (ProcRecord *proc_record,
static ProcRecord context_get_foreground_proc =
{
TRUE,
"gimp-context-get-foreground",
"gimp-context-get-foreground",
"Get the current GIMP foreground color.",
......@@ -565,6 +570,7 @@ context_set_foreground_invoker (ProcRecord *proc_record,
static ProcRecord context_set_foreground_proc =
{
TRUE,
"gimp-context-set-foreground",
"gimp-context-set-foreground",
"Set the current GIMP foreground color.",
......@@ -598,6 +604,7 @@ context_get_background_invoker (ProcRecord *proc_record,
static ProcRecord context_get_background_proc =
{
TRUE,
"gimp-context-get-background",
"gimp-context-get-background",
"Get the current GIMP background color.",
......@@ -634,6 +641,7 @@ context_set_background_invoker (ProcRecord *proc_record,
static ProcRecord context_set_background_proc =
{
TRUE,
"gimp-context-set-background",
"gimp-context-set-background",
"Set the current GIMP background color.",
......@@ -660,6 +668,7 @@ context_set_default_colors_invoker (ProcRecord *proc_record,
static ProcRecord context_set_default_colors_proc =
{
TRUE,
"gimp-context-set-default-colors",
"gimp-context-set-default-colors",
"Set the current GIMP foreground and background colors to black and white.",
......@@ -686,6 +695,7 @@ context_swap_colors_invoker (ProcRecord *proc_record,
static ProcRecord context_swap_colors_proc =
{
TRUE,
"gimp-context-swap-colors",
"gimp-context-swap-colors",
"Swap the current GIMP foreground and background colors.",
......@@ -719,6 +729,7 @@ context_get_opacity_invoker (ProcRecord *proc_record,
static ProcRecord context_get_opacity_proc =
{
TRUE,
"gimp-context-get-opacity",
"gimp-context-get-opacity",
"Get the opacity.",
......@@ -754,6 +765,7 @@ context_set_opacity_invoker (ProcRecord *proc_record,
static ProcRecord context_set_opacity_proc =
{
TRUE,
"gimp-context-set-opacity",
"gimp-context-set-opacity",
"Set the opacity.",
......@@ -787,6 +799,7 @@ context_get_paint_mode_invoker (ProcRecord *proc_record,
static ProcRecord context_get_paint_mode_proc =
{
TRUE,
"gimp-context-get-paint-mode",
"gimp-context-get-paint-mode",
"Get the paint mode.",
......@@ -822,6 +835,7 @@ context_set_paint_mode_invoker (ProcRecord *proc_record,
static ProcRecord context_set_paint_mode_proc =
{
TRUE,
"gimp-context-set-paint-mode",
"gimp-context-set-paint-mode",
"Set the paint mode.",
......@@ -863,6 +877,7 @@ context_get_brush_invoker (ProcRecord *proc_record,
static ProcRecord context_get_brush_proc =
{
TRUE,
"gimp-context-get-brush",
"gimp-context-get-brush",
"Retrieve the currently active brush.",
......@@ -904,6 +919,7 @@ context_set_brush_invoker (ProcRecord *proc_record,
static ProcRecord context_set_brush_proc =
{
TRUE,
"gimp-context-set-brush",
"gimp-context-set-brush",
"Set the specified brush as the active brush.",
......@@ -945,6 +961,7 @@ context_get_pattern_invoker (ProcRecord *proc_record,
static ProcRecord context_get_pattern_proc =
{
TRUE,
"gimp-context-get-pattern",
"gimp-context-get-pattern",
"Retrieve the currently active pattern.",
......@@ -986,6 +1003,7 @@ context_set_pattern_invoker (ProcRecord *proc_record,
static ProcRecord context_set_pattern_proc =
{
TRUE,
"gimp-context-set-pattern",
"gimp-context-set-pattern",
"Set the specified pattern as the active pattern.",
......@@ -1027,6 +1045,7 @@ context_get_gradient_invoker (ProcRecord *proc_record,
static ProcRecord context_get_gradient_proc =
{
TRUE,
"gimp-context-get-gradient",
"gimp-context-get-gradient",
"Retrieve the currently active gradient.",
......@@ -1068,6 +1087,7 @@ context_set_gradient_invoker (ProcRecord *proc_record,
static ProcRecord context_set_gradient_proc =
{
TRUE,
"gimp-context-set-gradient",
"gimp-context-set-gradient",
"Sets the specified gradient as the active gradient.",
......@@ -1109,6 +1129,7 @@ context_get_palette_invoker (ProcRecord *proc_record,
static ProcRecord context_get_palette_proc =
{
TRUE,
"gimp-context-get-palette",
"gimp-context-get-palette",
"Retrieve the currently active palette.",
......@@ -1150,6 +1171,7 @@ context_set_palette_invoker (ProcRecord *proc_record,
static ProcRecord context_set_palette_proc =
{
TRUE,
"gimp-context-set-palette",
"gimp-context-set-palette",
"Set the specified palette as the active palette.",
......@@ -1191,6 +1213,7 @@ context_get_font_invoker (ProcRecord *proc_record,
static ProcRecord context_get_font_proc =
{
TRUE,
"gimp-context-get-font",
"gimp-context-get-font",
"Retrieve the currently active font.",
......@@ -1232,6 +1255,7 @@ context_set_font_invoker (ProcRecord *proc_record,
static ProcRecord context_set_font_proc =
{
TRUE,
"gimp-context-set-font",
"gimp-context-set-font",
"Set the specified font as the active font.",
......
......@@ -155,6 +155,7 @@ image_convert_rgb_invoker (ProcRecord *proc_record,
static ProcRecord image_convert_rgb_proc =
{
TRUE,
"gimp-image-convert-rgb",
"gimp-image-convert-rgb",
"Convert specified image to RGB color",
......@@ -193,6 +194,7 @@ image_convert_grayscale_invoker (ProcRecord *proc_record,
static ProcRecord image_convert_grayscale_proc =
{
TRUE,
"gimp-image-convert-grayscale",
"gimp-image-convert-grayscale",
"Convert specified image to grayscale (256 intensity levels)",
......@@ -269,6 +271,7 @@ image_convert_indexed_invoker (ProcRecord *proc_record,
static ProcRecord image_convert_indexed_proc =
{
TRUE,
"gimp-image-convert-indexed",
"gimp-image-convert-indexed",
"Convert specified image to and Indexed image",
......