[gtk/revert-texture-annotations] Revert "gir: Annotate `GdkTexture` constructors for reading from a file/memory/resource to return a
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/revert-texture-annotations] Revert "gir: Annotate `GdkTexture` constructors for reading from a file/memory/resource to return a
- Date: Wed, 12 Jan 2022 19:12:20 +0000 (UTC)
commit 7257d1c15f6b6600032aac568a6e613add50cd07
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jan 12 14:11:13 2022 -0500
Revert "gir: Annotate `GdkTexture` constructors for reading from a file/memory/resource to return a
`GdkMemoryTexture`"
This reverts commit ae8e844dec16d55184367db4cd7e7ae215e3605a.
No agreement that this will stay this way going forward.
gdk/gdktexture.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gdk/gdktexture.c b/gdk/gdktexture.c
index d7fcfa0adb..c8d7730c6d 100644
--- a/gdk/gdktexture.c
+++ b/gdk/gdktexture.c
@@ -348,7 +348,7 @@ gdk_texture_init (GdkTexture *self)
*
* @surface must be an image surface with format `CAIRO_FORMAT_ARGB32`.
*
- * Returns: (type GdkMemoryTexture): a new `GdkTexture`
+ * Returns: a new `GdkTexture`
*/
GdkTexture *
gdk_texture_new_for_surface (cairo_surface_t *surface)
@@ -387,7 +387,7 @@ gdk_texture_new_for_surface (cairo_surface_t *surface)
* and [method Gio Task.run_in_thread] to avoid blocking the main thread
* while loading a big image.
*
- * Returns: (type GdkMemoryTexture): a new `GdkTexture`
+ * Returns: a new `GdkTexture`
*/
GdkTexture *
gdk_texture_new_for_pixbuf (GdkPixbuf *pixbuf)
@@ -433,7 +433,7 @@ gdk_texture_new_for_pixbuf (GdkPixbuf *pixbuf)
* and [method Gio Task.run_in_thread] to avoid blocking the main thread
* while loading a big image.
*
- * Return value: (type GdkMemoryTexture): A newly-created `GdkTexture`
+ * Return value: A newly-created `GdkTexture`
*/
GdkTexture *
gdk_texture_new_from_resource (const char *resource_path)
@@ -475,7 +475,7 @@ gdk_texture_new_from_resource (const char *resource_path)
* and [method Gio Task.run_in_thread] to avoid blocking the main thread
* while loading a big image.
*
- * Return value: (type GdkMemoryTexture): A newly-created `GdkTexture`
+ * Return value: A newly-created `GdkTexture`
*/
GdkTexture *
gdk_texture_new_from_file (GFile *file,
@@ -568,7 +568,7 @@ gdk_texture_new_from_bytes_pixbuf (GBytes *bytes,
* and [method Gio Task.run_in_thread] to avoid blocking the main thread
* while loading a big image.
*
- * Return value: (type GdkMemoryTexture): A newly-created `GdkTexture`
+ * Return value: A newly-created `GdkTexture`
*
* Since: 4.6
*/
@@ -614,7 +614,7 @@ gdk_texture_new_from_bytes (GBytes *bytes,
* and [method Gio Task.run_in_thread] to avoid blocking the main thread
* while loading a big image.
*
- * Return value: (type GdkMemoryTexture): A newly-created `GdkTexture`
+ * Return value: A newly-created `GdkTexture`
*
* Since: 4.6
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]