[gimp] flood: improve PDB description completely
- From: Sven Claussner <sclaussner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] flood: improve PDB description completely
- Date: Sat, 16 Apr 2016 07:44:01 +0000 (UTC)
commit 0fa6c7f1215c96706d80ecfdf266e1fefaf84725
Author: Sven Claussner <scl gimp org>
Date: Fri Apr 15 06:25:33 2016 +0000
flood: improve PDB description completely
Improve PDB description in generator template and all generated files.
app/pdb/selection-cmds.c | 3 +--
libgimp/gimpselection_pdb.c | 10 +++++-----
tools/pdbgen/pdb/selection.pdb | 10 +++++-----
3 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/app/pdb/selection-cmds.c b/app/pdb/selection-cmds.c
index 8ad3b82..1b0d774 100644
--- a/app/pdb/selection-cmds.c
+++ b/app/pdb/selection-cmds.c
@@ -979,8 +979,7 @@ register_selection_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-selection-flood",
"Remove holes from the image's selection",
- "This procedure removes holes from the selection, that can come from
selecting a patchy area with the Fuzzy Select Tool. "
- "In technical terms this procedure floods the selection. See the
Algorithms page in the developer wiki for details.",
+ "This procedure removes holes from the selection, that can come from
selecting a patchy area with the Fuzzy Select Tool. In technical terms this procedure floods the selection.
See the Algorithms page in the developer wiki for details.",
"Ell",
"Ell",
"2016",
diff --git a/libgimp/gimpselection_pdb.c b/libgimp/gimpselection_pdb.c
index 488c7a1..24d9cfb 100644
--- a/libgimp/gimpselection_pdb.c
+++ b/libgimp/gimpselection_pdb.c
@@ -503,12 +503,12 @@ gimp_selection_shrink (gint32 image_ID,
* gimp_selection_flood:
* @image_ID: The image.
*
- * Flood the image's selection
+ * Remove holes from the image's selection
*
- * This procedure floods the selection. Flooding assigns to each pixel
- * of the selection mask the minimum of the maxima of all paths from
- * that pixel to the outside, as if the selection mask were a height
- * map of a terrain flooded with water.
+ * This procedure removes holes from the selection, that can come from
+ * selecting a patchy area with the Fuzzy Select Tool. In technical
+ * terms this procedure floods the selection. See the Algorithms page
+ * in the developer wiki for details.
*
* Returns: TRUE on success.
*
diff --git a/tools/pdbgen/pdb/selection.pdb b/tools/pdbgen/pdb/selection.pdb
index dc5def8..34e5a87 100644
--- a/tools/pdbgen/pdb/selection.pdb
+++ b/tools/pdbgen/pdb/selection.pdb
@@ -424,13 +424,13 @@ CODE
}
sub selection_flood {
- $blurb = "Flood the image's selection";
+ $blurb = "Remove holes from the image's selection";
$help .= <<'HELP';
-This procedure floods the selection. Flooding assigns to each pixel
-of the selection mask the minimum of the maxima of all paths from
-that pixel to the outside, as if the selection mask were a height
-map of a terrain flooded with water.
+This procedure removes holes from the selection, that can come from
+selecting a patchy area with the Fuzzy Select Tool.
+In technical terms this procedure floods the selection.
+See the Algorithms page in the developer wiki for details.
HELP
$author = 'Ell';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]