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:
parent
19e5f35569
commit
99dd5ece55
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user