diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-01-12 02:42:17 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-01-12 02:42:17 +0000 |
commit | 9d6ccc0fe01291fed5b924228dba909a3dfc32ef (patch) | |
tree | 8d92969e67818b4fa9b893de9a7c3adde24b6b61 | |
parent | a56e187352ffbe2c57af41331eac1267d8cdfe62 (diff) | |
parent | ae8e844dec16d55184367db4cd7e7ae215e3605a (diff) | |
download | gtk+-9d6ccc0fe01291fed5b924228dba909a3dfc32ef.tar.gz |
Merge branch 'texture-new-return-types' into 'main'
gir: Annotate `GdkTexture` constructors for reading from a...
See merge request GNOME/gtk!4365
-rw-r--r-- | gdk/gdktexture.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdk/gdktexture.c b/gdk/gdktexture.c index c8d7730c6d..d7fcfa0adb 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: a new `GdkTexture` + * Returns: (type GdkMemoryTexture): 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: a new `GdkTexture` + * Returns: (type GdkMemoryTexture): 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: A newly-created `GdkTexture` + * Return value: (type GdkMemoryTexture): 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: A newly-created `GdkTexture` + * Return value: (type GdkMemoryTexture): 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: A newly-created `GdkTexture` + * Return value: (type GdkMemoryTexture): 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: A newly-created `GdkTexture` + * Return value: (type GdkMemoryTexture): A newly-created `GdkTexture` * * Since: 4.6 */ |