Revert "pdb, libgimp: fix some annotations in gimp.c and gimp_pdb.c."

This reverts commit b687f111f6.

We will generate annotations for all PDB wrappers automatically.
This commit is contained in:
Michael Natterer 2019-07-30 20:54:53 +02:00
parent b687f111f6
commit 0a02855a59
4 changed files with 9 additions and 13 deletions

View File

@ -406,7 +406,7 @@ register_gimp_procs (GimpPDB *pdb)
gimp_procedure_add_return_value (procedure,
gimp_param_spec_string_array ("parasites",
"parasites",
"(array length=num_parasites) (element-type gchar) (transfer full): The names of currently attached parasites",
"The names of currently attached parasites",
GIMP_PARAM_READWRITE));
gimp_pdb_register_procedure (pdb, procedure);
g_object_unref (procedure);

View File

@ -1130,12 +1130,9 @@ gimp_install_procedure (const gchar *name,
* @type: the type of the procedure.
* @n_params: the number of parameters the procedure takes.
* @n_return_vals: the number of return values the procedure returns.
* @params: (array length=n_params):
the procedure's parameters.
* @return_vals: (array length=n_return_vals):
the procedure's return values.
* @run_proc: (closure) (scope async):
the function to call for executing the procedure.
* @params: the procedure's parameters.
* @return_vals: the procedure's return values.
* @run_proc: the function to call for executing the procedure.
*
* Installs a new temporary procedure with the PDB (procedural database).
*
@ -1224,7 +1221,7 @@ gimp_uninstall_temp_proc (const gchar *name)
}
/**
* gimp_run_procedure: (skip)
* gimp_run_procedure:
* @name: the name of the procedure to run
* @n_return_vals: return location for the number of return values
* @...: list of procedure parameters
@ -1452,7 +1449,7 @@ gimp_read_expect_msg (GimpWireMessage *msg,
}
/**
* gimp_run_procedure2: (rename-to gimp_run_procedure)
* gimp_run_procedure2:
* @name: the name of the procedure to run
* @n_return_vals: return location for the number of return values
* @n_params: the number of parameters the procedure takes.

View File

@ -209,9 +209,8 @@ gimp_get_parasite (const gchar *name)
*
* Returns a list of all currently attached global parasites.
*
* Returns: (array length=num_parasites) (element-type gchar) (transfer
* full): The names of currently attached parasites. The returned value
* must be freed with g_strfreev().
* Returns: The names of currently attached parasites. The returned
* value must be freed with g_strfreev().
*
* Since: 2.8
**/

View File

@ -177,7 +177,7 @@ sub get_parasite_list {
@outargs = (
{ name => 'parasites', type => 'stringarray',
desc => '(array length=num_parasites) (element-type gchar) (transfer full): The names of currently attached parasites',
desc => 'The names of currently attached parasites',
array => { desc => 'The number of attached parasites' } }
);