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

changed new member "deprecated" from "gboolean" to a "gchar*" which holds

2004-10-06  Michael Natterer  <mitch@gimp.org>

	* app/pdb/procedural_db.h (struct ProcRecord): changed new member
	"deprecated" from "gboolean" to a "gchar*" which holds the name of
	the replacement procedure.

	* tools/pdbgen/app.pl: changed accordingly.

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): show
	the name of the replacement procedure in the warning message.

	* tools/pdbgen/stddefs.pdb: added utility function
	std_pdb_deprecated() which takes the name of the replacement
	procedure and fills the blurb, help, author, copyright, date and
	deprecated fields of the procedure definition.

	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb
	* tools/pdbgen/pdb/text_tool.pdb: use it instead of duplicating
	the same code and strings for all deprecated procedures.

	* app/pdb/*_cmds.c
	* libgimp/gimppatterns_pdb.c
	* libgimp/gimptexttool_pdb.c: regenerated.

20
parent 6f42c42d
......@@ -22,7 +22,9 @@
* tools/pdbgen/pdb/text_tool.pdb: use it instead of duplicating
the same code and strings for all deprecated procedures.
* app/pdb/*_cmds.c: regenerated.
* app/pdb/*_cmds.c
* libgimp/gimppatterns_pdb.c
* libgimp/gimptexttool_pdb.c: regenerated.
2004-10-06 Michael Natterer <mitch@gimp.org>
......
......@@ -143,9 +143,9 @@ gimp_patterns_get_pattern (gint *width,
* @length: Length of pattern mask data.
* @mask_data: The pattern mask data.
*
* This procedure is deprecated! Use 'gimp_pattern_get_data' instead.
* This procedure is deprecated! Use 'gimp_pattern_get_pixels' instead.
*
* This procedure is deprecated! Use 'gimp_pattern_get_data' instead.
* This procedure is deprecated! Use 'gimp_pattern_get_pixels' instead.
*
* Returns: The pattern name.
*/
......
......@@ -173,10 +173,9 @@ gimp_text_get_extents_fontname (const gchar *text,
* @registry: The font registry.
* @encoding: The font encoding.
*
* Add text at the specified location as a floating selection or a new
* layer.
* This procedure is deprecated! Use 'gimp_get_text_fontname' instead.
*
* This function is deprecated, use gimp_get_text_fontname() instead.
* This procedure is deprecated! Use 'gimp_get_text_fontname' instead.
*
* Returns: The new text layer.
*/
......@@ -250,9 +249,10 @@ gimp_text (gint32 image_ID,
* @ascent: The ascent of the specified font.
* @descent: The descent of the specified font.
*
* Get extents of the bounding box for the specified text.
* This procedure is deprecated! Use 'gimp_get_text_extents_fontname'
* instead.
*
* This function is deprecated, use gimp_get_text_extents_fontname()
* This procedure is deprecated! Use 'gimp_get_text_extents_fontname'
* instead.
*
* Returns: TRUE on success.
......
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