st/texture-cache: Change bind_cairo_surface_property to transfer full

This is how the code works and how it is already used from the C side.
There would also be no point in keeping this transfer none, because
textures generated from this function will not be shared and are not
kept in the cache.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1718>
This commit is contained in:
Sebastian Keller 2021-02-25 23:56:11 +01:00 committed by Marge Bot
parent 19e5f35569
commit 99dd5ece55

View File

@ -822,7 +822,7 @@ st_texture_cache_free_bind (gpointer data)
* If the source object is destroyed, the texture will continue to show the last * If the source object is destroyed, the texture will continue to show the last
* value of the property. * value of the property.
* *
* Returns: (transfer none): A new #GIcon * Returns: (transfer full): A new #GIcon
*/ */
GIcon * GIcon *
st_texture_cache_bind_cairo_surface_property (StTextureCache *cache, st_texture_cache_bind_cairo_surface_property (StTextureCache *cache,