gi: Add missing Since annotations

This commit is contained in:
Bilal Elmoussaoui 2024-01-03 08:38:26 +01:00
parent 0b861cf159
commit 2cd550cdbc
7 changed files with 20 additions and 3 deletions

View File

@ -253,6 +253,13 @@ gdk_display_class_init (GdkDisplayClass *class)
TRUE,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
/**
* GdkDisplay:dmabuf-formats:
*
* The dma-buf formats that are supported on this display
*
* Since: 4.14
*/
props[PROP_DMABUF_FORMATS] =
g_param_spec_boxed ("dmabuf-formats", NULL, NULL,
GDK_TYPE_DMABUF_FORMATS,

View File

@ -37,7 +37,7 @@
* The list of supported formats is sorted by preference,
* with the best formats coming first.
*
* The list may contains (format, modfier) pairs where the modifier
* The list may contains (format, modifier) pairs where the modifier
* is `DMA_FORMAT_MOD_INVALID`, indicating that **_implicit modifiers_**
* may be used with this format.
*
@ -152,10 +152,10 @@ gdk_dmabuf_formats_get_format (GdkDmabufFormats *formats,
}
/**
* gdk_dmabuf_format_contains:
* gdk_dmabuf_formats_contains:
* @formats: a `GdkDmabufFormats`
* @fourcc: a format code
* @modfier: a format modifier
* @modifier: a format modifier
*
* Returns whether a given format is contained in @formats.
*

View File

@ -39,6 +39,8 @@
* [class@Gdk.DmabufTextureBuilder] object.
*
* Dma-buf textures can only be created on Linux.
*
* Since: 4.14
*/
struct _GdkDmabufTexture

View File

@ -160,6 +160,8 @@ typedef enum
* reasons
*
* Error enumeration for `GdkDmabufTexture`.
*
* Since: 4.14
*/
typedef enum {
GDK_DMABUF_ERROR_NOT_AVAILABLE,

View File

@ -6771,6 +6771,8 @@ gsk_gl_shader_node_get_args (const GskRenderNode *node)
* GskSubsurfaceNode:
*
* A render node that potentially diverts a part of the scene graph to a subsurface.
*
* Since: 4.14
*/
struct _GskSubsurfaceNode
{

View File

@ -69,6 +69,8 @@
* GDK_DEBUG=dmabuf
*
* The GTK inspector provides a visual debugging tool for graphics offload.
*
* Since: 4.14
*/
struct _GtkGraphicsOffload

View File

@ -60,6 +60,8 @@
*
* Applications may wish to store the page_setup and print_settings from the print setup
* and copy them to the PrintDialog if they want to keep using them.
*
* Since: 4.14
*/
struct _GtkPrintSetup