libgimp: add some (nullable) annotation and fix some comments.

This commit is contained in:
Jehan 2019-08-09 12:48:41 +02:00
parent d3d621b502
commit 8f79ddbfe0
2 changed files with 4 additions and 4 deletions

View file

@ -631,7 +631,7 @@ _gimp_main_internal (GType plug_in_type,
* This function returns the plug-in's #GimpPlugIn instance, which can
* exist exactly once per running plug-in program.
*
* Returns: (transfer none): The plug-in's #GimpPlugIn singleton, or %NULL.
* Returns: (transfer none) (nullable): The plug-in's #GimpPlugIn singleton, or %NULL.
*
* Since: 3.0
**/
@ -647,7 +647,7 @@ gimp_get_plug_in (void)
* This function returns the plug-in's #GimpPDB instance, which can
* exist exactly once per running plug-in program.
*
* Returns: (transfer none): The plug-in's #GimpPDB singleton, or %NULL.
* Returns: (transfer none) (nullable): The plug-in's #GimpPDB singleton, or %NULL.
*
* Since: 3.0
**/

View file

@ -147,12 +147,12 @@ gint gimp_main (GType plug_in_type,
*/
GimpPlugIn * gimp_get_plug_in (void);
/* Return the GimpPlugIn singleton of this plug-in process
/* Return the GimpPDB singleton of this plug-in process
*/
GimpPDB * gimp_get_pdb (void);
/* Forcefully causes the gimp library to exit and
* close down its connection to main gimp application.
* close down its connection to main gimp application.
*/
void gimp_quit (void) G_GNUC_NORETURN;