[gimp] pdb: remove some formerly manually added annotations.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] pdb: remove some formerly manually added annotations.
- Date: Wed, 31 Jul 2019 20:58:08 +0000 (UTC)
commit ac0c3cf532dc930be0851f2ec1696b072688e606
Author: Jehan <jehan girinstud io>
Date: Wed Jul 31 22:56:43 2019 +0200
pdb: remove some formerly manually added annotations.
From the time when I was just manually editing these even in the PDB!
app/pdb/context-cmds.c | 2 +-
app/pdb/palette-cmds.c | 4 ++--
libgimp/gimpcontext_pdb.c | 3 +--
libgimp/gimppalette_pdb.c | 4 ++--
pdb/groups/context.pdb | 2 +-
pdb/groups/palette.pdb | 4 ++--
6 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/app/pdb/context-cmds.c b/app/pdb/context-cmds.c
index 5f7c51cd82..277b8069e2 100644
--- a/app/pdb/context-cmds.c
+++ b/app/pdb/context-cmds.c
@@ -4576,7 +4576,7 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_add_return_value (procedure,
gimp_param_spec_string ("name",
"name",
- "(transfer full): The name of the active palette",
+ "The name of the active palette",
FALSE, FALSE, FALSE,
NULL,
GIMP_PARAM_READWRITE));
diff --git a/app/pdb/palette-cmds.c b/app/pdb/palette-cmds.c
index 84aaad3dc9..ae1a31f11f 100644
--- a/app/pdb/palette-cmds.c
+++ b/app/pdb/palette-cmds.c
@@ -782,7 +782,7 @@ register_palette_procs (GimpPDB *pdb)
gimp_procedure_add_return_value (procedure,
gimp_param_spec_int32 ("num-colors",
"num colors",
- "(out): The number of colors in the palette",
+ "The number of colors in the palette",
G_MININT32, G_MAXINT32, 0,
GIMP_PARAM_READWRITE));
gimp_pdb_register_procedure (pdb, procedure);
@@ -987,7 +987,7 @@ register_palette_procs (GimpPDB *pdb)
gimp_procedure_add_return_value (procedure,
gimp_param_spec_rgb ("color",
"color",
- "(out): The color requested",
+ "The color requested",
FALSE,
NULL,
GIMP_PARAM_READWRITE));
diff --git a/libgimp/gimpcontext_pdb.c b/libgimp/gimpcontext_pdb.c
index efce813c67..ef4bf9dafa 100644
--- a/libgimp/gimpcontext_pdb.c
+++ b/libgimp/gimpcontext_pdb.c
@@ -2383,8 +2383,7 @@ gimp_context_set_gradient_reverse (gboolean reverse)
*
* This procedure returns the name of the the currently active palette.
*
- * Returns: (transfer full): (transfer full): The name of the active
- * palette.
+ * Returns: (transfer full): The name of the active palette.
*
* Since: 2.2
**/
diff --git a/libgimp/gimppalette_pdb.c b/libgimp/gimppalette_pdb.c
index 02b29d2956..4af74f481a 100644
--- a/libgimp/gimppalette_pdb.c
+++ b/libgimp/gimppalette_pdb.c
@@ -215,7 +215,7 @@ gimp_palette_is_editable (const gchar *name)
/**
* gimp_palette_get_info:
* @name: The palette name.
- * @num_colors: (out): (out): The number of colors in the palette.
+ * @num_colors: (out): The number of colors in the palette.
*
* Retrieve information about the specified palette.
*
@@ -466,7 +466,7 @@ gimp_palette_delete_entry (const gchar *name,
* gimp_palette_entry_get_color:
* @name: The palette name.
* @entry_num: The entry to retrieve.
- * @color: (out): (out): The color requested.
+ * @color: (out): The color requested.
*
* Gets the specified palette entry from the specified palette.
*
diff --git a/pdb/groups/context.pdb b/pdb/groups/context.pdb
index c24d3d5b7f..352520dd5e 100644
--- a/pdb/groups/context.pdb
+++ b/pdb/groups/context.pdb
@@ -1965,7 +1965,7 @@ HELP
@outargs = (
{ name => 'name', type => 'string',
- desc => '(transfer full): The name of the active palette' }
+ desc => 'The name of the active palette' }
);
%invoke = (
diff --git a/pdb/groups/palette.pdb b/pdb/groups/palette.pdb
index 116fe21d9b..da3c7fc533 100644
--- a/pdb/groups/palette.pdb
+++ b/pdb/groups/palette.pdb
@@ -195,7 +195,7 @@ HELP
@outargs = (
{ name => 'num_colors', type => 'int32', void_ret => 1,
- desc => '(out): The number of colors in the palette' }
+ desc => 'The number of colors in the palette' }
);
%invoke = (
@@ -425,7 +425,7 @@ HELP
@outargs = (
{ name => 'color', type => 'color', void_ret => 1,
- desc => '(out): The color requested' }
+ desc => 'The color requested' }
);
%invoke = (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]