gir: Add type annotations for {GL,Memory}Texture
authorMaximiliano Sandoval R <msandova@gnome.org>
Thu, 6 Jan 2022 16:39:06 +0000 (17:39 +0100)
committerMaximiliano Sandoval R <msandova@gnome.org>
Thu, 6 Jan 2022 18:30:29 +0000 (19:30 +0100)
gdk/gdkgltexture.c
gdk/gdkmemorytexture.c

index a1c75a62fd280faef0fb01dee469a7db4c87bf63..40ccaf2add138889e105d2b4054da2369cd8232a 100644 (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,
index 71df887b0b6e6e7ed36eade6e74371476337dcc4..68fdff616d96b6b0bf995349760a8086c3686165 100644 (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,