libgimp: cleanup and adding missing doc-comment.

The comment about temporary API was added in commit 244b52bf0d for
functions long gone.
This commit is contained in:
Jehan 2025-02-25 19:58:22 +01:00
parent 269463389e
commit 1e869b9ce0
2 changed files with 12 additions and 2 deletions

View file

@ -304,8 +304,6 @@ _gimp_pdb_error_quark (void)
} }
/* Temporary API, to go away before 3.0 */
/** /**
* gimp_pdb_get_last_error: * gimp_pdb_get_last_error:
* @pdb: a #GimpPDB. * @pdb: a #GimpPDB.

View file

@ -2233,6 +2233,18 @@ gimp_procedure_create_config (GimpProcedure *procedure)
priv->n_args); priv->n_args);
} }
/**
* gimp_procedure_is_internal:
* @procedure: A #GimpProcedure
*
* Provide the information if @procedure is an internal procedure. Only
* a procedure looked up in the [class@Gimp.PDB] can be internal.
* Procedures created by a plug-in in particular are never internal.
*
* Returns: Whether @procedure is an internal procedure or not.
*
* Since: 3.0
**/
gboolean gboolean
gimp_procedure_is_internal (GimpProcedure *procedure) gimp_procedure_is_internal (GimpProcedure *procedure)
{ {