Commit 02abc41c authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

sorted list of deprecated procedures so deprecations since 2.0 and 2.2 are

2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/pdb/procedural_db.c (procedural_db_init_procs): sorted list
	of deprecated procedures so deprecations since 2.0 and 2.2 are
	grouped together.
parent a01b2d64
2005-07-13 Michael Natterer <mitch@gimp.org>
* app/pdb/procedural_db.c (procedural_db_init_procs): sorted list
of deprecated procedures so deprecations since 2.0 and 2.2 are
grouped together.
2005-07-12 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu.c: formatting.
......
......@@ -110,11 +110,6 @@ procedural_db_init_procs (Gimp *gimp,
compat_procs[] =
{
{ "gimp_blend", "gimp_edit_blend" },
{ "gimp_brushes_set_brush", "gimp_context_set_brush" },
{ "gimp_brushes_get_opacity", "gimp_context_get_opacity" },
{ "gimp_brushes_set_opacity", "gimp_context_set_opacity" },
{ "gimp_brushes_get_paint_mode", "gimp_context_get_paint_mode" },
{ "gimp_brushes_set_paint_mode", "gimp_context_set_paint_mode" },
{ "gimp_brushes_list", "gimp_brushes_get_list" },
{ "gimp_bucket_fill", "gimp_edit_bucket_fill" },
{ "gimp_channel_delete", "gimp_drawable_delete" },
......@@ -131,14 +126,8 @@ procedural_db_init_procs (Gimp *gimp,
{ "gimp_crop", "gimp_image_crop" },
{ "gimp_drawable_bytes", "gimp_drawable_bpp" },
{ "gimp_drawable_image", "gimp_drawable_get_image" },
{ "gimp_gradients_get_active", "gimp_context_get_gradient" },
{ "gimp_gradients_set_active", "gimp_context_set_gradient" },
{ "gimp_gradients_get_gradient", "gimp_context_get_gradient" },
{ "gimp_gradients_set_gradient", "gimp_context_set_gradient" },
{ "gimp_image_active_drawable", "gimp_image_get_active_drawable" },
{ "gimp_image_floating_selection", "gimp_image_get_floating_sel" },
{ "gimp_image_get_cmap", "gimp_image_get_colormap" },
{ "gimp_image_set_cmap", "gimp_image_set_colormap" },
{ "gimp_layer_delete", "gimp_drawable_delete" },
{ "gimp_layer_get_linked", "gimp_drawable_get_linked" },
{ "gimp_layer_get_name", "gimp_drawable_get_name" },
......@@ -149,24 +138,38 @@ procedural_db_init_procs (Gimp *gimp,
{ "gimp_layer_set_name", "gimp_drawable_set_name" },
{ "gimp_layer_set_tattoo", "gimp_drawable_set_tattoo" },
{ "gimp_layer_set_visible", "gimp_drawable_set_visible" },
{ "gimp_palette_get_foreground", "gimp_context_get_foreground" },
{ "gimp_palette_refresh", "gimp_palettes_refresh" },
{ "gimp_patterns_list", "gimp_patterns_get_list" },
{ "gimp_temp_PDB_name", "gimp_procedural_db_temp_name" },
{ "gimp_undo_push_group_end", "gimp_image_undo_group_end" },
{ "gimp_undo_push_group_start", "gimp_image_undo_group_start" },
/* deprecations since 2.0 */
{ "gimp_brushes_get_opacity", "gimp_context_get_opacity" },
{ "gimp_brushes_get_paint_mode", "gimp_context_get_paint_mode" },
{ "gimp_brushes_set_brush", "gimp_context_set_brush" },
{ "gimp_brushes_set_opacity", "gimp_context_set_opacity" },
{ "gimp_brushes_set_paint_mode", "gimp_context_set_paint_mode" },
{ "gimp_channel_ops_duplicate", "gimp_image_duplicate" },
{ "gimp_channel_ops_offset", "gimp_drawable_offset" },
{ "gimp_gradients_get_active", "gimp_context_get_gradient" },
{ "gimp_gradients_get_gradient", "gimp_context_get_gradient" },
{ "gimp_gradients_set_active", "gimp_context_set_gradient" },
{ "gimp_gradients_set_gradient", "gimp_context_set_gradient" },
{ "gimp_image_get_cmap", "gimp_image_get_colormap" },
{ "gimp_image_set_cmap", "gimp_image_set_colormap" },
{ "gimp_palette_get_background", "gimp_context_get_background" },
{ "gimp_palette_set_foreground", "gimp_context_set_foreground" },
{ "gimp_palette_get_foreground", "gimp_context_get_foreground" },
{ "gimp_palette_set_background", "gimp_context_set_background" },
{ "gimp_palette_set_default_colors", "gimp_context_set_default_colors" },
{ "gimp_palette_set_foreground", "gimp_context_set_foreground" },
{ "gimp_palette_swap_colors", "gimp_context_swap_colors" },
{ "gimp_palette_refresh", "gimp_palettes_refresh" },
{ "gimp_palettes_set_palette", "gimp_context_set_palette" },
{ "gimp_patterns_list", "gimp_patterns_get_list" },
{ "gimp_patterns_set_pattern", "gimp_context_set_pattern" },
{ "gimp_selection_clear", "gimp_selection_none" },
{ "gimp_temp_PDB_name", "gimp_procedural_db_temp_name" },
{ "gimp_undo_push_group_start", "gimp_image_undo_group_start" },
{ "gimp_undo_push_group_end", "gimp_image_undo_group_end" },
{ "gimp_channel_ops_duplicate", "gimp_image_duplicate" },
{ "gimp_channel_ops_offset", "gimp_drawable_offset" },
{ "gimp_layer_get_preserve_trans", "gimp_drawable_set_lock_alpha" },
/* deprecations since 2.2 */
{ "gimp_layer_get_preserve_trans", "gimp_drawable_get_lock_alpha" },
{ "gimp_layer_set_preserve_trans", "gimp_drawable_set_lock_alpha" }
};
......
......@@ -110,11 +110,6 @@ procedural_db_init_procs (Gimp *gimp,
compat_procs[] =
{
{ "gimp_blend", "gimp_edit_blend" },
{ "gimp_brushes_set_brush", "gimp_context_set_brush" },
{ "gimp_brushes_get_opacity", "gimp_context_get_opacity" },
{ "gimp_brushes_set_opacity", "gimp_context_set_opacity" },
{ "gimp_brushes_get_paint_mode", "gimp_context_get_paint_mode" },
{ "gimp_brushes_set_paint_mode", "gimp_context_set_paint_mode" },
{ "gimp_brushes_list", "gimp_brushes_get_list" },
{ "gimp_bucket_fill", "gimp_edit_bucket_fill" },
{ "gimp_channel_delete", "gimp_drawable_delete" },
......@@ -131,14 +126,8 @@ procedural_db_init_procs (Gimp *gimp,
{ "gimp_crop", "gimp_image_crop" },
{ "gimp_drawable_bytes", "gimp_drawable_bpp" },
{ "gimp_drawable_image", "gimp_drawable_get_image" },
{ "gimp_gradients_get_active", "gimp_context_get_gradient" },
{ "gimp_gradients_set_active", "gimp_context_set_gradient" },
{ "gimp_gradients_get_gradient", "gimp_context_get_gradient" },
{ "gimp_gradients_set_gradient", "gimp_context_set_gradient" },
{ "gimp_image_active_drawable", "gimp_image_get_active_drawable" },
{ "gimp_image_floating_selection", "gimp_image_get_floating_sel" },
{ "gimp_image_get_cmap", "gimp_image_get_colormap" },
{ "gimp_image_set_cmap", "gimp_image_set_colormap" },
{ "gimp_layer_delete", "gimp_drawable_delete" },
{ "gimp_layer_get_linked", "gimp_drawable_get_linked" },
{ "gimp_layer_get_name", "gimp_drawable_get_name" },
......@@ -149,24 +138,38 @@ procedural_db_init_procs (Gimp *gimp,
{ "gimp_layer_set_name", "gimp_drawable_set_name" },
{ "gimp_layer_set_tattoo", "gimp_drawable_set_tattoo" },
{ "gimp_layer_set_visible", "gimp_drawable_set_visible" },
{ "gimp_palette_get_foreground", "gimp_context_get_foreground" },
{ "gimp_palette_refresh", "gimp_palettes_refresh" },
{ "gimp_patterns_list", "gimp_patterns_get_list" },
{ "gimp_temp_PDB_name", "gimp_procedural_db_temp_name" },
{ "gimp_undo_push_group_end", "gimp_image_undo_group_end" },
{ "gimp_undo_push_group_start", "gimp_image_undo_group_start" },
/* deprecations since 2.0 */
{ "gimp_brushes_get_opacity", "gimp_context_get_opacity" },
{ "gimp_brushes_get_paint_mode", "gimp_context_get_paint_mode" },
{ "gimp_brushes_set_brush", "gimp_context_set_brush" },
{ "gimp_brushes_set_opacity", "gimp_context_set_opacity" },
{ "gimp_brushes_set_paint_mode", "gimp_context_set_paint_mode" },
{ "gimp_channel_ops_duplicate", "gimp_image_duplicate" },
{ "gimp_channel_ops_offset", "gimp_drawable_offset" },
{ "gimp_gradients_get_active", "gimp_context_get_gradient" },
{ "gimp_gradients_get_gradient", "gimp_context_get_gradient" },
{ "gimp_gradients_set_active", "gimp_context_set_gradient" },
{ "gimp_gradients_set_gradient", "gimp_context_set_gradient" },
{ "gimp_image_get_cmap", "gimp_image_get_colormap" },
{ "gimp_image_set_cmap", "gimp_image_set_colormap" },
{ "gimp_palette_get_background", "gimp_context_get_background" },
{ "gimp_palette_set_foreground", "gimp_context_set_foreground" },
{ "gimp_palette_get_foreground", "gimp_context_get_foreground" },
{ "gimp_palette_set_background", "gimp_context_set_background" },
{ "gimp_palette_set_default_colors", "gimp_context_set_default_colors" },
{ "gimp_palette_set_foreground", "gimp_context_set_foreground" },
{ "gimp_palette_swap_colors", "gimp_context_swap_colors" },
{ "gimp_palette_refresh", "gimp_palettes_refresh" },
{ "gimp_palettes_set_palette", "gimp_context_set_palette" },
{ "gimp_patterns_list", "gimp_patterns_get_list" },
{ "gimp_patterns_set_pattern", "gimp_context_set_pattern" },
{ "gimp_selection_clear", "gimp_selection_none" },
{ "gimp_temp_PDB_name", "gimp_procedural_db_temp_name" },
{ "gimp_undo_push_group_start", "gimp_image_undo_group_start" },
{ "gimp_undo_push_group_end", "gimp_image_undo_group_end" },
{ "gimp_channel_ops_duplicate", "gimp_image_duplicate" },
{ "gimp_channel_ops_offset", "gimp_drawable_offset" },
{ "gimp_layer_get_preserve_trans", "gimp_drawable_set_lock_alpha" },
/* deprecations since 2.2 */
{ "gimp_layer_get_preserve_trans", "gimp_drawable_get_lock_alpha" },
{ "gimp_layer_set_preserve_trans", "gimp_drawable_set_lock_alpha" }
};
......
......@@ -110,11 +110,6 @@ procedural_db_init_procs (Gimp *gimp,
compat_procs[] =
{
{ "gimp_blend", "gimp_edit_blend" },
{ "gimp_brushes_set_brush", "gimp_context_set_brush" },
{ "gimp_brushes_get_opacity", "gimp_context_get_opacity" },
{ "gimp_brushes_set_opacity", "gimp_context_set_opacity" },
{ "gimp_brushes_get_paint_mode", "gimp_context_get_paint_mode" },
{ "gimp_brushes_set_paint_mode", "gimp_context_set_paint_mode" },
{ "gimp_brushes_list", "gimp_brushes_get_list" },
{ "gimp_bucket_fill", "gimp_edit_bucket_fill" },
{ "gimp_channel_delete", "gimp_drawable_delete" },
......@@ -131,14 +126,8 @@ procedural_db_init_procs (Gimp *gimp,
{ "gimp_crop", "gimp_image_crop" },
{ "gimp_drawable_bytes", "gimp_drawable_bpp" },
{ "gimp_drawable_image", "gimp_drawable_get_image" },
{ "gimp_gradients_get_active", "gimp_context_get_gradient" },
{ "gimp_gradients_set_active", "gimp_context_set_gradient" },
{ "gimp_gradients_get_gradient", "gimp_context_get_gradient" },
{ "gimp_gradients_set_gradient", "gimp_context_set_gradient" },
{ "gimp_image_active_drawable", "gimp_image_get_active_drawable" },
{ "gimp_image_floating_selection", "gimp_image_get_floating_sel" },
{ "gimp_image_get_cmap", "gimp_image_get_colormap" },
{ "gimp_image_set_cmap", "gimp_image_set_colormap" },
{ "gimp_layer_delete", "gimp_drawable_delete" },
{ "gimp_layer_get_linked", "gimp_drawable_get_linked" },
{ "gimp_layer_get_name", "gimp_drawable_get_name" },
......@@ -149,24 +138,38 @@ procedural_db_init_procs (Gimp *gimp,
{ "gimp_layer_set_name", "gimp_drawable_set_name" },
{ "gimp_layer_set_tattoo", "gimp_drawable_set_tattoo" },
{ "gimp_layer_set_visible", "gimp_drawable_set_visible" },
{ "gimp_palette_get_foreground", "gimp_context_get_foreground" },
{ "gimp_palette_refresh", "gimp_palettes_refresh" },
{ "gimp_patterns_list", "gimp_patterns_get_list" },
{ "gimp_temp_PDB_name", "gimp_procedural_db_temp_name" },
{ "gimp_undo_push_group_end", "gimp_image_undo_group_end" },
{ "gimp_undo_push_group_start", "gimp_image_undo_group_start" },
/* deprecations since 2.0 */
{ "gimp_brushes_get_opacity", "gimp_context_get_opacity" },
{ "gimp_brushes_get_paint_mode", "gimp_context_get_paint_mode" },
{ "gimp_brushes_set_brush", "gimp_context_set_brush" },
{ "gimp_brushes_set_opacity", "gimp_context_set_opacity" },
{ "gimp_brushes_set_paint_mode", "gimp_context_set_paint_mode" },
{ "gimp_channel_ops_duplicate", "gimp_image_duplicate" },
{ "gimp_channel_ops_offset", "gimp_drawable_offset" },
{ "gimp_gradients_get_active", "gimp_context_get_gradient" },
{ "gimp_gradients_get_gradient", "gimp_context_get_gradient" },
{ "gimp_gradients_set_active", "gimp_context_set_gradient" },
{ "gimp_gradients_set_gradient", "gimp_context_set_gradient" },
{ "gimp_image_get_cmap", "gimp_image_get_colormap" },
{ "gimp_image_set_cmap", "gimp_image_set_colormap" },
{ "gimp_palette_get_background", "gimp_context_get_background" },
{ "gimp_palette_set_foreground", "gimp_context_set_foreground" },
{ "gimp_palette_get_foreground", "gimp_context_get_foreground" },
{ "gimp_palette_set_background", "gimp_context_set_background" },
{ "gimp_palette_set_default_colors", "gimp_context_set_default_colors" },
{ "gimp_palette_set_foreground", "gimp_context_set_foreground" },
{ "gimp_palette_swap_colors", "gimp_context_swap_colors" },
{ "gimp_palette_refresh", "gimp_palettes_refresh" },
{ "gimp_palettes_set_palette", "gimp_context_set_palette" },
{ "gimp_patterns_list", "gimp_patterns_get_list" },
{ "gimp_patterns_set_pattern", "gimp_context_set_pattern" },
{ "gimp_selection_clear", "gimp_selection_none" },
{ "gimp_temp_PDB_name", "gimp_procedural_db_temp_name" },
{ "gimp_undo_push_group_start", "gimp_image_undo_group_start" },
{ "gimp_undo_push_group_end", "gimp_image_undo_group_end" },
{ "gimp_channel_ops_duplicate", "gimp_image_duplicate" },
{ "gimp_channel_ops_offset", "gimp_drawable_offset" },
{ "gimp_layer_get_preserve_trans", "gimp_drawable_set_lock_alpha" },
/* deprecations since 2.2 */
{ "gimp_layer_get_preserve_trans", "gimp_drawable_get_lock_alpha" },
{ "gimp_layer_set_preserve_trans", "gimp_drawable_set_lock_alpha" }
};
......
......@@ -110,11 +110,6 @@ procedural_db_init_procs (Gimp *gimp,
compat_procs[] =
{
{ "gimp_blend", "gimp_edit_blend" },
{ "gimp_brushes_set_brush", "gimp_context_set_brush" },
{ "gimp_brushes_get_opacity", "gimp_context_get_opacity" },
{ "gimp_brushes_set_opacity", "gimp_context_set_opacity" },
{ "gimp_brushes_get_paint_mode", "gimp_context_get_paint_mode" },
{ "gimp_brushes_set_paint_mode", "gimp_context_set_paint_mode" },
{ "gimp_brushes_list", "gimp_brushes_get_list" },
{ "gimp_bucket_fill", "gimp_edit_bucket_fill" },
{ "gimp_channel_delete", "gimp_drawable_delete" },
......@@ -131,14 +126,8 @@ procedural_db_init_procs (Gimp *gimp,
{ "gimp_crop", "gimp_image_crop" },
{ "gimp_drawable_bytes", "gimp_drawable_bpp" },
{ "gimp_drawable_image", "gimp_drawable_get_image" },
{ "gimp_gradients_get_active", "gimp_context_get_gradient" },
{ "gimp_gradients_set_active", "gimp_context_set_gradient" },
{ "gimp_gradients_get_gradient", "gimp_context_get_gradient" },
{ "gimp_gradients_set_gradient", "gimp_context_set_gradient" },
{ "gimp_image_active_drawable", "gimp_image_get_active_drawable" },
{ "gimp_image_floating_selection", "gimp_image_get_floating_sel" },
{ "gimp_image_get_cmap", "gimp_image_get_colormap" },
{ "gimp_image_set_cmap", "gimp_image_set_colormap" },
{ "gimp_layer_delete", "gimp_drawable_delete" },
{ "gimp_layer_get_linked", "gimp_drawable_get_linked" },
{ "gimp_layer_get_name", "gimp_drawable_get_name" },
......@@ -149,24 +138,38 @@ procedural_db_init_procs (Gimp *gimp,
{ "gimp_layer_set_name", "gimp_drawable_set_name" },
{ "gimp_layer_set_tattoo", "gimp_drawable_set_tattoo" },
{ "gimp_layer_set_visible", "gimp_drawable_set_visible" },
{ "gimp_palette_get_foreground", "gimp_context_get_foreground" },
{ "gimp_palette_refresh", "gimp_palettes_refresh" },
{ "gimp_patterns_list", "gimp_patterns_get_list" },
{ "gimp_temp_PDB_name", "gimp_procedural_db_temp_name" },
{ "gimp_undo_push_group_end", "gimp_image_undo_group_end" },
{ "gimp_undo_push_group_start", "gimp_image_undo_group_start" },
/* deprecations since 2.0 */
{ "gimp_brushes_get_opacity", "gimp_context_get_opacity" },
{ "gimp_brushes_get_paint_mode", "gimp_context_get_paint_mode" },
{ "gimp_brushes_set_brush", "gimp_context_set_brush" },
{ "gimp_brushes_set_opacity", "gimp_context_set_opacity" },
{ "gimp_brushes_set_paint_mode", "gimp_context_set_paint_mode" },
{ "gimp_channel_ops_duplicate", "gimp_image_duplicate" },
{ "gimp_channel_ops_offset", "gimp_drawable_offset" },
{ "gimp_gradients_get_active", "gimp_context_get_gradient" },
{ "gimp_gradients_get_gradient", "gimp_context_get_gradient" },
{ "gimp_gradients_set_active", "gimp_context_set_gradient" },
{ "gimp_gradients_set_gradient", "gimp_context_set_gradient" },
{ "gimp_image_get_cmap", "gimp_image_get_colormap" },
{ "gimp_image_set_cmap", "gimp_image_set_colormap" },
{ "gimp_palette_get_background", "gimp_context_get_background" },
{ "gimp_palette_set_foreground", "gimp_context_set_foreground" },
{ "gimp_palette_get_foreground", "gimp_context_get_foreground" },
{ "gimp_palette_set_background", "gimp_context_set_background" },
{ "gimp_palette_set_default_colors", "gimp_context_set_default_colors" },
{ "gimp_palette_set_foreground", "gimp_context_set_foreground" },
{ "gimp_palette_swap_colors", "gimp_context_swap_colors" },
{ "gimp_palette_refresh", "gimp_palettes_refresh" },
{ "gimp_palettes_set_palette", "gimp_context_set_palette" },
{ "gimp_patterns_list", "gimp_patterns_get_list" },
{ "gimp_patterns_set_pattern", "gimp_context_set_pattern" },
{ "gimp_selection_clear", "gimp_selection_none" },
{ "gimp_temp_PDB_name", "gimp_procedural_db_temp_name" },
{ "gimp_undo_push_group_start", "gimp_image_undo_group_start" },
{ "gimp_undo_push_group_end", "gimp_image_undo_group_end" },
{ "gimp_channel_ops_duplicate", "gimp_image_duplicate" },
{ "gimp_channel_ops_offset", "gimp_drawable_offset" },
{ "gimp_layer_get_preserve_trans", "gimp_drawable_set_lock_alpha" },
/* deprecations since 2.2 */
{ "gimp_layer_get_preserve_trans", "gimp_drawable_get_lock_alpha" },
{ "gimp_layer_set_preserve_trans", "gimp_drawable_set_lock_alpha" }
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment