Commit 3cb83051 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

added new member "gboolean static_strings", so the ProcRecord struct and

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

	* app/pdb/gimpprocedure.h (struct ProcRecord): added new member
	"gboolean static_strings", so the ProcRecord struct and its
	strings can be marked as static separately.

	* app/pdb/gimpprocedure.[ch] (gimp_procedure_dispose): removed.

	(gimp_procedure_free): don't free the struct if it's static.

	(gimp_procedure_set_strings)
	(gimp_procedure_set_static_strings)
	(gimp_procedure_take_strings): new functions to set a procedure's
	strings.

	* app/pdb/procedural_db.c (procedural_db_free_entry): simply call
	gimp_procedure_free() on all procedures, the memory-manage
	themselves now.

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install): use
	gimp_procedure_set_strings() instead of setting them manually.

	* app/xcf/xcf.c: register gimp-xcf-load and gimp-xcf-save
	dynamically so further ProcRecord struct changes don't affect this
	file.

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

	* app/pdb/*_cmds.c: regenerated.
parent c1475c4a
2006-03-31 Michael Natterer <mitch@gimp.org>
* app/pdb/gimpprocedure.h (struct ProcRecord): added new member
"gboolean static_strings", so the ProcRecord struct and its
strings can be marked as static separately.
* app/pdb/gimpprocedure.[ch] (gimp_procedure_dispose): removed.
(gimp_procedure_free): don't free the struct if it's static.
(gimp_procedure_set_strings)
(gimp_procedure_set_static_strings)
(gimp_procedure_take_strings): new functions to set a procedure's
strings.
* app/pdb/procedural_db.c (procedural_db_free_entry): simply call
gimp_procedure_free() on all procedures, the memory-manage
themselves now.
* app/plug-in/plug-in-message.c (plug_in_handle_proc_install): use
gimp_procedure_set_strings() instead of setting them manually.
* app/xcf/xcf.c: register gimp-xcf-load and gimp-xcf-save
dynamically so further ProcRecord struct changes don't affect this
file.
* tools/pdbgen/app.pl: set "static_proc" to TRUE for static procs.
* app/pdb/*_cmds.c: regenerated.
2006-03-31 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-in-proc-def.h (struct PlugInProcDef)
......
......@@ -685,7 +685,7 @@ brush_new_invoker (ProcRecord *proc_record,
static ProcRecord brush_new_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-new",
"gimp-brush-new",
"Creates a new brush",
......@@ -743,7 +743,7 @@ brush_duplicate_invoker (ProcRecord *proc_record,
static ProcRecord brush_duplicate_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-duplicate",
"gimp-brush-duplicate",
"Duplicates a brush",
......@@ -792,7 +792,7 @@ brush_is_generated_invoker (ProcRecord *proc_record,
static ProcRecord brush_is_generated_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-is-generated",
"gimp-brush-is-generated",
"Tests if brush is generated",
......@@ -846,7 +846,7 @@ brush_rename_invoker (ProcRecord *proc_record,
static ProcRecord brush_rename_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-rename",
"gimp-brush-rename",
"Rename a brush",
......@@ -900,7 +900,7 @@ brush_delete_invoker (ProcRecord *proc_record,
static ProcRecord brush_delete_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-delete",
"gimp-brush-delete",
"Deletes a brush",
......@@ -949,7 +949,7 @@ brush_is_editable_invoker (ProcRecord *proc_record,
static ProcRecord brush_is_editable_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-is-editable",
"gimp-brush-is-editable",
"Tests if brush can be edited",
......@@ -1011,7 +1011,7 @@ brush_get_info_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_info_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-get-info",
"gimp-brush-get-info",
"Retrieve information about the specified brush.",
......@@ -1090,7 +1090,7 @@ brush_get_pixels_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_pixels_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-get-pixels",
"gimp-brush-get-pixels",
"Retrieve information about the specified brush.",
......@@ -1139,7 +1139,7 @@ brush_get_spacing_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_spacing_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-get-spacing",
"gimp-brush-get-spacing",
"Get the brush spacing.",
......@@ -1183,7 +1183,7 @@ brush_set_spacing_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_spacing_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-set-spacing",
"gimp-brush-set-spacing",
"Set the brush spacing.",
......@@ -1232,7 +1232,7 @@ brush_get_shape_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_shape_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-get-shape",
"gimp-brush-get-shape",
"Get the shape of a generated brush.",
......@@ -1281,7 +1281,7 @@ brush_get_radius_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_radius_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-get-radius",
"gimp-brush-get-radius",
"Get the radius of a generated brush.",
......@@ -1330,7 +1330,7 @@ brush_get_spikes_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_spikes_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-get-spikes",
"gimp-brush-get-spikes",
"Get the number of spikes for a generated brush.",
......@@ -1379,7 +1379,7 @@ brush_get_hardness_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_hardness_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-get-hardness",
"gimp-brush-get-hardness",
"Get the hardness of a generated brush.",
......@@ -1428,7 +1428,7 @@ brush_get_aspect_ratio_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_aspect_ratio_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-get-aspect-ratio",
"gimp-brush-get-aspect-ratio",
"Get the aspect ratio of a generated brush.",
......@@ -1477,7 +1477,7 @@ brush_get_angle_invoker (ProcRecord *proc_record,
static ProcRecord brush_get_angle_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-get-angle",
"gimp-brush-get-angle",
"Get the rotation angle of a generated brush.",
......@@ -1532,7 +1532,7 @@ brush_set_shape_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_shape_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-set-shape",
"gimp-brush-set-shape",
"Set the shape of a generated brush.",
......@@ -1587,7 +1587,7 @@ brush_set_radius_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_radius_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-set-radius",
"gimp-brush-set-radius",
"Set the radius of a generated brush.",
......@@ -1642,7 +1642,7 @@ brush_set_spikes_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_spikes_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-set-spikes",
"gimp-brush-set-spikes",
"Set the number of spikes for a generated brush.",
......@@ -1697,7 +1697,7 @@ brush_set_hardness_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_hardness_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-set-hardness",
"gimp-brush-set-hardness",
"Set the hardness of a generated brush.",
......@@ -1752,7 +1752,7 @@ brush_set_aspect_ratio_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_aspect_ratio_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-set-aspect-ratio",
"gimp-brush-set-aspect-ratio",
"Set the aspect ratio of a generated brush.",
......@@ -1807,7 +1807,7 @@ brush_set_angle_invoker (ProcRecord *proc_record,
static ProcRecord brush_set_angle_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brush-set-angle",
"gimp-brush-set-angle",
"Set the rotation angle of a generated brush.",
......
......@@ -192,7 +192,7 @@ brushes_popup_invoker (ProcRecord *proc_record,
static ProcRecord brushes_popup_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brushes-popup",
"gimp-brushes-popup",
"Invokes the Gimp brush selection.",
......@@ -232,7 +232,7 @@ brushes_close_popup_invoker (ProcRecord *proc_record,
static ProcRecord brushes_close_popup_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brushes-close-popup",
"gimp-brushes-close-popup",
"Popdown the Gimp brush selection.",
......@@ -284,7 +284,7 @@ brushes_set_popup_invoker (ProcRecord *proc_record,
static ProcRecord brushes_set_popup_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brushes-set-popup",
"gimp-brushes-set-popup",
"Sets the current brush selection in a popup.",
......
......@@ -229,7 +229,7 @@ brushes_refresh_invoker (ProcRecord *proc_record,
static ProcRecord brushes_refresh_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brushes-refresh",
"gimp-brushes-refresh",
"Refresh current brushes. This function always succeeds.",
......@@ -277,7 +277,7 @@ brushes_get_list_invoker (ProcRecord *proc_record,
static ProcRecord brushes_get_list_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brushes-get-list",
"gimp-brushes-get-list",
"Retrieve a complete listing of the available brushes.",
......@@ -332,7 +332,7 @@ brushes_get_brush_invoker (ProcRecord *proc_record,
static ProcRecord brushes_get_brush_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brushes-get-brush",
"gimp-brushes-get-brush",
"This procedure is deprecated! Use 'gimp-context-get-brush' instead.",
......@@ -374,7 +374,7 @@ brushes_get_spacing_invoker (ProcRecord *proc_record,
static ProcRecord brushes_get_spacing_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brushes-get-spacing",
"gimp-brushes-get-spacing",
"This procedure is deprecated! Use 'gimp-brush-get-spacing' instead.",
......@@ -410,7 +410,7 @@ brushes_set_spacing_invoker (ProcRecord *proc_record,
static ProcRecord brushes_set_spacing_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brushes-set-spacing",
"gimp-brushes-set-spacing",
"This procedure is deprecated! Use 'gimp-brush-set-spacing' instead.",
......@@ -493,7 +493,7 @@ brushes_get_brush_data_invoker (ProcRecord *proc_record,
static ProcRecord brushes_get_brush_data_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brushes-get-brush-data",
"gimp-brushes-get-brush-data",
"This procedure is deprecated! Use 'gimp-brush-get-pixels' instead.",
......
......@@ -240,7 +240,7 @@ buffers_get_list_invoker (ProcRecord *proc_record,
static ProcRecord buffers_get_list_proc =
{
TRUE,
TRUE, TRUE,
"gimp-buffers-get-list",
"gimp-buffers-get-list",
"Retrieve a complete listing of the available buffers.",
......@@ -294,7 +294,7 @@ buffer_rename_invoker (ProcRecord *proc_record,
static ProcRecord buffer_rename_proc =
{
TRUE,
TRUE, TRUE,
"gimp-buffer-rename",
"gimp-buffer-rename",
"Renames a named buffer.",
......@@ -336,7 +336,7 @@ buffer_delete_invoker (ProcRecord *proc_record,
static ProcRecord buffer_delete_proc =
{
TRUE,
TRUE, TRUE,
"gimp-buffer-delete",
"gimp-buffer-delete",
"Deletes a named buffer.",
......@@ -385,7 +385,7 @@ buffer_get_width_invoker (ProcRecord *proc_record,
static ProcRecord buffer_get_width_proc =
{
TRUE,
TRUE, TRUE,
"gimp-buffer-get-width",
"gimp-buffer-get-width",
"Retrieves the specified buffer's width.",
......@@ -434,7 +434,7 @@ buffer_get_height_invoker (ProcRecord *proc_record,
static ProcRecord buffer_get_height_proc =
{
TRUE,
TRUE, TRUE,
"gimp-buffer-get-height",
"gimp-buffer-get-height",
"Retrieves the specified buffer's height.",
......@@ -483,7 +483,7 @@ buffer_get_bytes_invoker (ProcRecord *proc_record,
static ProcRecord buffer_get_bytes_proc =
{
TRUE,
TRUE, TRUE,
"gimp-buffer-get-bytes",
"gimp-buffer-get-bytes",
"Retrieves the specified buffer's bytes.",
......@@ -532,7 +532,7 @@ buffer_get_image_type_invoker (ProcRecord *proc_record,
static ProcRecord buffer_get_image_type_proc =
{
TRUE,
TRUE, TRUE,
"gimp-buffer-get-image-type",
"gimp-buffer-get-image-type",
"Retrieves the specified buffer's image type.",
......
......@@ -383,7 +383,7 @@ channel_new_invoker (ProcRecord *proc_record,
static ProcRecord channel_new_proc =
{
TRUE,
TRUE, TRUE,
"gimp-channel-new",
"gimp-channel-new",
"Create a new channel.",
......@@ -437,7 +437,7 @@ channel_new_from_component_invoker (ProcRecord *proc_record,
static ProcRecord channel_new_from_component_proc =
{
TRUE,
TRUE, TRUE,
"gimp-channel-new-from-component",
"gimp-channel-new-from-component",
"Create a new channel from a color component",
......@@ -484,7 +484,7 @@ channel_copy_invoker (ProcRecord *proc_record,
static ProcRecord channel_copy_proc =
{
TRUE,
TRUE, TRUE,
"gimp-channel-copy",
"gimp-channel-copy",
"Copy a channel.",
......@@ -528,7 +528,7 @@ channel_combine_masks_invoker (ProcRecord *proc_record,
static ProcRecord channel_combine_masks_proc =
{
TRUE,
TRUE, TRUE,
"gimp-channel-combine-masks",
"gimp-channel-combine-masks",
"Combine two channel masks.",
......@@ -571,7 +571,7 @@ channel_get_show_masked_invoker (ProcRecord *proc_record,
static ProcRecord channel_get_show_masked_proc =
{
TRUE,
TRUE, TRUE,
"gimp-channel-get-show-masked",
"gimp-channel-get-show-masked",
"Get the composite method of the specified channel.",
......@@ -609,7 +609,7 @@ channel_set_show_masked_invoker (ProcRecord *proc_record,
static ProcRecord channel_set_show_masked_proc =
{
TRUE,
TRUE, TRUE,
"gimp-channel-set-show-masked",
"gimp-channel-set-show-masked",
"Set the composite method of the specified channel.",
......@@ -652,7 +652,7 @@ channel_get_opacity_invoker (ProcRecord *proc_record,
static ProcRecord channel_get_opacity_proc =
{
TRUE,
TRUE, TRUE,
"gimp-channel-get-opacity",
"gimp-channel-get-opacity",
"Get the opacity of the specified channel.",
......@@ -690,7 +690,7 @@ channel_set_opacity_invoker (ProcRecord *proc_record,
static ProcRecord channel_set_opacity_proc =
{
TRUE,
TRUE, TRUE,
"gimp-channel-set-opacity",
"gimp-channel-set-opacity",
"Set the opacity of the specified channel.",
......@@ -733,7 +733,7 @@ channel_get_color_invoker (ProcRecord *proc_record,
static ProcRecord channel_get_color_proc =
{
TRUE,
TRUE, TRUE,
"gimp-channel-get-color",
"gimp-channel-get-color",
"Get the compositing color of the specified channel.",
......@@ -774,7 +774,7 @@ channel_set_color_invoker (ProcRecord *proc_record,
static ProcRecord channel_set_color_proc =
{
TRUE,
TRUE, TRUE,
"gimp-channel-set-color",
"gimp-channel-set-color",
"Set the compositing color of the specified channel.",
......
......@@ -640,7 +640,7 @@ brightness_contrast_invoker (ProcRecord *proc_record,
static ProcRecord brightness_contrast_proc =
{
TRUE,
TRUE, TRUE,
"gimp-brightness-contrast",
"gimp-brightness-contrast",
"Modify brightness/contrast in the specified drawable.",
......@@ -701,7 +701,7 @@ levels_invoker (ProcRecord *proc_record,
static ProcRecord levels_proc =
{
TRUE,
TRUE, TRUE,
"gimp-levels",
"gimp-levels",
"Modifies intensity levels in the specified drawable.",
......@@ -742,7 +742,7 @@ levels_auto_invoker (ProcRecord *proc_record,
static ProcRecord levels_auto_proc =
{
TRUE,
TRUE, TRUE,
"gimp-levels-auto",
"gimp-levels-auto",
"This procedure is deprecated! Use 'gimp_levels_stretch' instead.",
......@@ -783,7 +783,7 @@ levels_stretch_invoker (ProcRecord *proc_record,
static ProcRecord levels_stretch_proc =
{
TRUE,
TRUE, TRUE,
"gimp-levels-stretch",
"gimp-levels-stretch",
"Automatically modifies intensity levels in the specified drawable.",
......@@ -851,7 +851,7 @@ posterize_invoker (ProcRecord *proc_record,
static ProcRecord posterize_proc =
{
TRUE,
TRUE, TRUE,
"gimp-posterize",
"gimp-posterize",
"Posterize the specified drawable.",
......@@ -892,7 +892,7 @@ desaturate_invoker (ProcRecord *proc_record,
static ProcRecord desaturate_proc =
{
TRUE,
TRUE, TRUE,
"gimp-desaturate",
"gimp-desaturate",
"Desaturate the contents of the specified drawable.",
......@@ -935,7 +935,7 @@ desaturate_full_invoker (ProcRecord *proc_record,
static ProcRecord desaturate_full_proc =
{
TRUE,
TRUE, TRUE,
"gimp-desaturate-full",
"gimp-desaturate-full",
"Desaturate the contents of the specified drawable, with the specified formula.",
......@@ -978,7 +978,7 @@ equalize_invoker (ProcRecord *proc_record,
static ProcRecord equalize_proc =
{
TRUE,
TRUE, TRUE,
"gimp-equalize",
"gimp-equalize",
"Equalize the contents of the specified drawable.",
......@@ -1019,7 +1019,7 @@ invert_invoker (ProcRecord *proc_record,
static ProcRecord invert_proc =
{
TRUE,
TRUE, TRUE,
"gimp-invert",
"gimp-invert",
"Invert the contents of the specified drawable.",
......@@ -1121,7 +1121,7 @@ curves_spline_invoker (ProcRecord *proc_record,
static ProcRecord curves_spline_proc =
{
TRUE,
TRUE, TRUE,
"gimp-curves-spline",
"gimp-curves-spline",
"Modifies the intensity curve(s) for specified drawable.",
......@@ -1214,7 +1214,7 @@ curves_explicit_invoker (ProcRecord *proc_record,
static ProcRecord curves_explicit_proc =
{
TRUE,
TRUE, TRUE,
"gimp-curves-explicit",
"gimp-curves-explicit",
"Modifies the intensity curve(s) for specified drawable.",
......@@ -1295,7 +1295,7 @@ color_balance_invoker (ProcRecord *proc_record,
static ProcRecord color_balance_proc =
{
TRUE,
TRUE, TRUE,
"gimp-color-balance",
"gimp-color-balance",
"Modify the color balance of the specified drawable.",
......@@ -1370,7 +1370,7 @@ colorize_invoker (ProcRecord *proc_record,
static ProcRecord colorize_proc =
{
TRUE,
TRUE, TRUE,
"gimp-colorize",
"gimp-colorize",
"Render the drawable as a grayscale image seen through a colored glass.",
......@@ -1457,7 +1457,7 @@ histogram_invoker (ProcRecord *proc_record,
static ProcRecord histogram_proc =
{
TRUE,
TRUE, TRUE,
"gimp-histogram",
"gimp-histogram",
"Returns information on the intensity histogram for the specified drawable.",
......@@ -1535,7 +1535,7 @@ hue_saturation_invoker (ProcRecord *proc_record,
static ProcRecord hue_saturation_proc =
{
TRUE,
TRUE, TRUE,
"gimp-hue-saturation",
"gimp-hue-saturation",
"Modify hue, lightness, and saturation in the specified drawable.",
......@@ -1605,7 +1605,7 @@ threshold_invoker (ProcRecord *proc_record,
static ProcRecord threshold_proc =
{
TRUE,
TRUE, TRUE,
"gimp-threshold",
"gimp-threshold",
"Threshold the specified drawable.",
......
......@@ -384,7 +384,7 @@ context_push_invoker (ProcRecord *proc_record,
static ProcRecord context_push_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-push",
"gimp-context-push",
"Pushes a context to the top of the plug-in's context stack.",
......@@ -415,7 +415,7 @@ context_pop_invoker (ProcRecord *proc_record,
static ProcRecord context_pop_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-pop",
"gimp-context-pop",
"Pops the topmost context from the plug-in's context stack.",
......@@ -457,7 +457,7 @@ context_get_paint_method_invoker (ProcRecord *proc_record,
static ProcRecord context_get_paint_method_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-get-paint-method",
"gimp-context-get-paint-method",
"Retrieve the currently active paint method.",
......@@ -499,7 +499,7 @@ context_set_paint_method_invoker (ProcRecord *proc_record,
static ProcRecord context_set_paint_method_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-set-paint-method",
"gimp-context-set-paint-method",
"Set the specified paint method as the active paint method.",
......@@ -533,7 +533,7 @@ context_get_foreground_invoker (ProcRecord *proc_record,
static ProcRecord context_get_foreground_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-get-foreground",
"gimp-context-get-foreground",
"Get the current GIMP foreground color.",
......@@ -570,7 +570,7 @@ context_set_foreground_invoker (ProcRecord *proc_record,
static ProcRecord context_set_foreground_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-set-foreground",
"gimp-context-set-foreground",
"Set the current GIMP foreground color.",
......@@ -604,7 +604,7 @@ context_get_background_invoker (ProcRecord *proc_record,
static ProcRecord context_get_background_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-get-background",
"gimp-context-get-background",
"Get the current GIMP background color.",
......@@ -641,7 +641,7 @@ context_set_background_invoker (ProcRecord *proc_record,
static ProcRecord context_set_background_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-set-background",
"gimp-context-set-background",
"Set the current GIMP background color.",
......@@ -668,7 +668,7 @@ context_set_default_colors_invoker (ProcRecord *proc_record,
static ProcRecord context_set_default_colors_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-set-default-colors",
"gimp-context-set-default-colors",
"Set the current GIMP foreground and background colors to black and white.",
......@@ -695,7 +695,7 @@ context_swap_colors_invoker (ProcRecord *proc_record,
static ProcRecord context_swap_colors_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-swap-colors",
"gimp-context-swap-colors",
"Swap the current GIMP foreground and background colors.",
......@@ -729,7 +729,7 @@ context_get_opacity_invoker (ProcRecord *proc_record,
static ProcRecord context_get_opacity_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-get-opacity",
"gimp-context-get-opacity",
"Get the opacity.",
......@@ -765,7 +765,7 @@ context_set_opacity_invoker (ProcRecord *proc_record,
static ProcRecord context_set_opacity_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-set-opacity",
"gimp-context-set-opacity",
"Set the opacity.",
......@@ -799,7 +799,7 @@ context_get_paint_mode_invoker (ProcRecord *proc_record,
static ProcRecord context_get_paint_mode_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-get-paint-mode",
"gimp-context-get-paint-mode",
"Get the paint mode.",
......@@ -835,7 +835,7 @@ context_set_paint_mode_invoker (ProcRecord *proc_record,
static ProcRecord context_set_paint_mode_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-set-paint-mode",
"gimp-context-set-paint-mode",
"Set the paint mode.",
......@@ -877,7 +877,7 @@ context_get_brush_invoker (ProcRecord *proc_record,
static ProcRecord context_get_brush_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-get-brush",
"gimp-context-get-brush",
"Retrieve the currently active brush.",
......@@ -919,7 +919,7 @@ context_set_brush_invoker (ProcRecord *proc_record,
static ProcRecord context_set_brush_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-set-brush",
"gimp-context-set-brush",
"Set the specified brush as the active brush.",
......@@ -961,7 +961,7 @@ context_get_pattern_invoker (ProcRecord *proc_record,
static ProcRecord context_get_pattern_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-get-pattern",
"gimp-context-get-pattern",
"Retrieve the currently active pattern.",
......@@ -1003,7 +1003,7 @@ context_set_pattern_invoker (ProcRecord *proc_record,
static ProcRecord context_set_pattern_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-set-pattern",
"gimp-context-set-pattern",
"Set the specified pattern as the active pattern.",
......@@ -1045,7 +1045,7 @@ context_get_gradient_invoker (ProcRecord *proc_record,
static ProcRecord context_get_gradient_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-get-gradient",
"gimp-context-get-gradient",
"Retrieve the currently active gradient.",
......@@ -1087,7 +1087,7 @@ context_set_gradient_invoker (ProcRecord *proc_record,
static ProcRecord context_set_gradient_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-set-gradient",
"gimp-context-set-gradient",
"Sets the specified gradient as the active gradient.",
......@@ -1129,7 +1129,7 @@ context_get_palette_invoker (ProcRecord *proc_record,
static ProcRecord context_get_palette_proc =
{
TRUE,
TRUE, TRUE,
"gimp-context-get-palette",
"gimp-context-get-palette",
"Retrieve the currently active palette.",
......@@ -1171,7 +1171,7 @@ context_set_palette_invoker (ProcRecord *proc_record,
static ProcRecord context_set_palette_proc =