[gimp] pdb: document that the context's inteprolation defaults to the gimprc value



commit 2e9b6625e8dbc65966439b4de8195f32ba775b31
Author: Michael Natterer <mitch gimp org>
Date:   Tue Oct 5 21:11:10 2010 +0200

    pdb: document that the context's inteprolation defaults to the gimprc value

 app/pdb/context-cmds.c       |    2 +-
 libgimp/gimpcontext_pdb.c    |    4 +++-
 tools/pdbgen/pdb/context.pdb |    4 +++-
 3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/app/pdb/context-cmds.c b/app/pdb/context-cmds.c
index 33c3e79..57174c3 100644
--- a/app/pdb/context-cmds.c
+++ b/app/pdb/context-cmds.c
@@ -1687,7 +1687,7 @@ register_context_procs (GimpPDB *pdb)
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-context-get-interpolation",
                                      "Get the interpolation type.",
-                                     "This procedure returns the interpolation setting. The return value is an integer which corresponds to the values listed in the argument description.",
+                                     "This procedure returns the interpolation setting. The return value is an integer which corresponds to the values listed in the argument description. If the interpolation has not been set explicitly by 'gimp-context-set-interpolation', the default interpolation set in gimprc will be used.",
                                      "Michael Natterer <mitch gimp org>",
                                      "Michael Natterer",
                                      "2010",
diff --git a/libgimp/gimpcontext_pdb.c b/libgimp/gimpcontext_pdb.c
index 7b358ca..dcb8635 100644
--- a/libgimp/gimpcontext_pdb.c
+++ b/libgimp/gimpcontext_pdb.c
@@ -1073,7 +1073,9 @@ gimp_context_set_feather_radius (gdouble feather_radius_x,
  *
  * This procedure returns the interpolation setting. The return value
  * is an integer which corresponds to the values listed in the argument
- * description.
+ * description. If the interpolation has not been set explicitly by
+ * gimp_context_set_interpolation(), the default interpolation set in
+ * gimprc will be used.
  *
  * Returns: The interpolation type.
  *
diff --git a/tools/pdbgen/pdb/context.pdb b/tools/pdbgen/pdb/context.pdb
index c017643..2249295 100644
--- a/tools/pdbgen/pdb/context.pdb
+++ b/tools/pdbgen/pdb/context.pdb
@@ -870,7 +870,9 @@ sub context_get_interpolation {
     $help = <<'HELP';
 This procedure returns the interpolation setting. The return value
 is an integer which corresponds to the values listed in the argument
-description.
+description. If the interpolation has not been set explicitly by
+gimp_context_set_interpolation(), the default interpolation set in
+gimprc will be used.
 HELP
 
     &mitch_pdb_misc('2010', '2.8');



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