[gimp] pdb: some doc fixes



commit 2e81453c755fc0a0fad1d7a1883356c8cbe663d9
Author: Michael Natterer <mitch gimp org>
Date:   Fri Jul 9 14:24:31 2010 +0200

    pdb: some doc fixes

 app/pdb/paths-cmds.c       |   12 ++++++------
 libgimp/gimppaths_pdb.c    |    6 +++---
 tools/pdbgen/pdb/paths.pdb |    4 ++--
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/app/pdb/paths-cmds.c b/app/pdb/paths-cmds.c
index 95cb237..21b83c3 100644
--- a/app/pdb/paths-cmds.c
+++ b/app/pdb/paths-cmds.c
@@ -877,12 +877,12 @@ register_paths_procs (GimpPDB *pdb)
                                "gimp-path-set-points");
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-path-set-points",
-                                     "This procedure is deprecated! Use 'vectors-stroke-new-from-points' instead.",
-                                     "This procedure is deprecated! Use 'vectors-stroke-new-from-points' instead.",
+                                     "This procedure is deprecated! Use 'gimp-vectors-stroke-new-from-points' instead.",
+                                     "This procedure is deprecated! Use 'gimp-vectors-stroke-new-from-points' instead.",
                                      "",
                                      "",
                                      "",
-                                     "vectors-stroke-new-from-points");
+                                     "gimp-vectors-stroke-new-from-points");
   gimp_procedure_add_argument (procedure,
                                gimp_param_spec_image_id ("image",
                                                          "image",
@@ -1235,12 +1235,12 @@ register_paths_procs (GimpPDB *pdb)
                                "gimp-path-import");
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-path-import",
-                                     "This procedure is deprecated! Use 'vectors-import-from-file' instead.",
-                                     "This procedure is deprecated! Use 'vectors-import-from-file' instead.",
+                                     "This procedure is deprecated! Use 'gimp-vectors-import-from-file' instead.",
+                                     "This procedure is deprecated! Use 'gimp-vectors-import-from-file' instead.",
                                      "",
                                      "",
                                      "",
-                                     "vectors-import-from-file");
+                                     "gimp-vectors-import-from-file");
   gimp_procedure_add_argument (procedure,
                                gimp_param_spec_image_id ("image",
                                                          "image",
diff --git a/libgimp/gimppaths_pdb.c b/libgimp/gimppaths_pdb.c
index 5ff0c0c..05707c0 100644
--- a/libgimp/gimppaths_pdb.c
+++ b/libgimp/gimppaths_pdb.c
@@ -224,8 +224,8 @@ gimp_path_get_points (gint32        image_ID,
  * @num_path_points: The number of elements in the array, i.e. the number of points in the path * 3. Each point is made up of (x, y, type) of floats. Currently only the creation of bezier curves is allowed. The type parameter must be set to (1) to indicate a BEZIER type curve. Note that for BEZIER curves, points must be given in the following order: ACCACCAC... If the path is not closed the last control point is missed off. Points consist of three control points (control/anchor/control) so for a curve that is not closed there must be at least two points passed (2 x,y pairs). If (num_path_points/3) % 3 = 0 then the path is assumed to be closed and the points are ACCACCACCACC.
  * @points_pairs: The points in the path represented as 3 floats. The first is the x pos, next is the y pos, last is the type of the pnt. The type field is dependant on the path type. For beziers (type 1 paths) the type can either be (1.0 = BEZIER_ANCHOR, 2.0 = BEZIER_CONTROL, 3.0= BEZIER_MOVE). Note all points are returned in pixel resolution.
  *
- * This procedure is deprecated! Use vectors_stroke_new_from_points()
- * instead.
+ * This procedure is deprecated! Use
+ * gimp_vectors_stroke_new_from_points() instead.
  *
  * Returns: TRUE on success.
  */
@@ -537,7 +537,7 @@ gimp_path_to_selection (gint32          image_ID,
  * @merge: Merge paths into a single vectors object.
  * @scale: Scale the SVG to image dimensions.
  *
- * This procedure is deprecated! Use vectors_import_from_file()
+ * This procedure is deprecated! Use gimp_vectors_import_from_file()
  * instead.
  *
  * Returns: TRUE on success.
diff --git a/tools/pdbgen/pdb/paths.pdb b/tools/pdbgen/pdb/paths.pdb
index 2f6c68f..8687a0f 100644
--- a/tools/pdbgen/pdb/paths.pdb
+++ b/tools/pdbgen/pdb/paths.pdb
@@ -167,7 +167,7 @@ CODE
 }
 
 sub path_set_points {
-    &std_pdb_deprecated('vectors-stroke-new-from-points');
+    &std_pdb_deprecated('gimp-vectors-stroke-new-from-points');
 
     @inargs = (
 	{ name => 'image', type => 'image',
@@ -573,7 +573,7 @@ CODE
 }
 
 sub path_import {
-    &std_pdb_deprecated('vectors-import-from-file');
+    &std_pdb_deprecated('gimp-vectors-import-from-file');
 
     @inargs = (
 	{ name => 'image', type => 'image',



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]