[gnome-shell] st/texture-cache: Change bind_cairo_surface_property to transfer full



commit 99dd5ece5529fc48fbe09861a1d36c3fc9b73d89
Author: Sebastian Keller <skeller gnome org>
Date:   Thu Feb 25 23:56:11 2021 +0100

    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>

 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 15c33f0296..4e878a722e 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]