From 99dd5ece5529fc48fbe09861a1d36c3fc9b73d89 Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Thu, 25 Feb 2021 23:56:11 +0100 Subject: [PATCH] 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: --- src/st/st-texture-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c index 15c33f029..4e878a722 100644 --- a/src/st/st-texture-cache.c +++ b/src/st/st-texture-cache.c @@ -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 * value of the property. * - * Returns: (transfer none): A new #GIcon + * Returns: (transfer full): A new #GIcon */ GIcon * st_texture_cache_bind_cairo_surface_property (StTextureCache *cache,