gir: Add type annotations for {GL,Memory}Texture

This commit is contained in:
Maximiliano Sandoval R 2022-01-06 17:39:06 +01:00
parent 3bed5334bf
commit ef9dbf73cc
No known key found for this signature in database
GPG Key ID: D64A8D747F6FE706
2 changed files with 3 additions and 2 deletions

View File

@ -383,7 +383,8 @@ gdk_gl_texture_determine_format (GdkGLTexture *self)
* which will happen when the GdkTexture object is finalized, or due to
* an explicit call of [method@Gdk.GLTexture.release].
*
* Return value: (transfer full): A newly-created `GdkTexture`
* Return value: (transfer full) (type GdkGLTexture): A newly-created
* `GdkTexture`
*/
GdkTexture *
gdk_gl_texture_new (GdkGLContext *context,

View File

@ -136,7 +136,7 @@ gdk_memory_sanitize (GBytes *bytes,
* The `GBytes` must contain @stride x @height pixels
* in the given format.
*
* Returns: A newly-created `GdkTexture`
* Returns: (type GdkMemoryTexture): A newly-created `GdkTexture`
*/
GdkTexture *
gdk_memory_texture_new (int width,