mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
libgimp: fix annotations for gimp_brush_get_by_name().
Similarly to how we handled image items, all resources are handled and stored by the plug-in infrastructure and should not be destroyed. This wrong annotation was triggering bindings to unref resources when going out of scope, hence crashing plug-ins.
This commit is contained in:
parent
d54c511968
commit
4f69995b46
1 changed files with 1 additions and 3 deletions
|
@ -78,9 +78,7 @@ gimp_brush_new (const gchar *name)
|
||||||
*
|
*
|
||||||
* Returns the brush with the given name.
|
* Returns the brush with the given name.
|
||||||
*
|
*
|
||||||
* Returns the brush with the given name.
|
* Returns: (transfer none): The brush.
|
||||||
*
|
|
||||||
* Returns: (transfer full): The brush.
|
|
||||||
*
|
*
|
||||||
* Since: 3.0
|
* Since: 3.0
|
||||||
**/
|
**/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue