g-i: add missing since annotations

This commit is contained in:
Bilal Elmoussaoui 2021-11-13 17:33:15 +01:00
parent fd69b41748
commit 40c08954db
5 changed files with 20 additions and 1 deletions

View File

@ -727,6 +727,13 @@ gdk_toplevel_begin_move (GdkToplevel *toplevel,
timestamp);
}
/**
* gdk_toplevel_titlebar_gesture:
* @toplevel: a `GdkToplevel`
* @gesture: a `GdkTitlebarGesture`
*
* Since: 4.4
*/
gboolean
gdk_toplevel_titlebar_gesture (GdkToplevel *toplevel,
GdkTitlebarGesture gesture)

View File

@ -115,6 +115,14 @@ typedef enum
GDK_TOPLEVEL_STATE_LEFT_RESIZABLE = 1 << 15
} GdkToplevelState;
/**
* GdkTitlebarGesture:
* @GDK_TITLEBAR_GESTURE_DOUBLE_CLICK:
* @GDK_TITLEBAR_GESTURE_RIGHT_CLICK:
* @GDK_TITLEBAR_GESTURE_MIDDLE_CLICK:
*
* Since: 4.4
*/
typedef enum
{
GDK_TITLEBAR_GESTURE_DOUBLE_CLICK = 1,

View File

@ -494,7 +494,7 @@ GskRenderNode * gsk_text_node_new (PangoFont
const graphene_point_t *offset);
GDK_AVAILABLE_IN_ALL
PangoFont * gsk_text_node_get_font (const GskRenderNode *node) G_GNUC_PURE;
GDK_AVAILABLE_IN_ALL
GDK_AVAILABLE_IN_4_2
gboolean gsk_text_node_has_color_glyphs (const GskRenderNode *node) G_GNUC_PURE;
GDK_AVAILABLE_IN_ALL
guint gsk_text_node_get_num_glyphs (const GskRenderNode *node) G_GNUC_PURE;

View File

@ -4547,6 +4547,8 @@ gsk_text_node_get_font (const GskRenderNode *node)
* Checks whether the text @node has color glyphs.
*
* Returns: %TRUE if the text node has color glyphs
*
* Since: 4.2
*/
gboolean
gsk_text_node_has_color_glyphs (const GskRenderNode *node)

View File

@ -378,6 +378,8 @@ gtk_sorter_changed_with_keys (GtkSorter *self,
* `GtkOrdering` value.
*
* Returns: the corresponding `GtkOrdering`
*
* Since: 4.2
**/
GtkOrdering
gtk_ordering_from_cmpfunc (int cmpfunc_result)