[gnome-shell/gnome-3-38] st/texture-cache: Change bind_cairo_surface_property to transfer full
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-38] st/texture-cache: Change bind_cairo_surface_property to transfer full
- Date: Mon, 15 Mar 2021 19:43:48 +0000 (UTC)
commit 7c97b4f7b7c2ebce871a7c21278b84aadd752c77
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 d0e369b36a..b20ad7cc50 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]