mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 17:50:10 +00:00
g-i: add missing since 4.6 annotations
This commit is contained in:
parent
3dcda782ce
commit
cb3eae1042
@ -616,6 +616,8 @@ gdk_texture_new_from_bytes (GBytes *bytes,
|
||||
* while loading a big image.
|
||||
*
|
||||
* Return value: A newly-created `GdkTexture`
|
||||
*
|
||||
* Since: 4.6
|
||||
*/
|
||||
GdkTexture *
|
||||
gdk_texture_new_from_filename (const char *path,
|
||||
|
@ -629,6 +629,8 @@ gsk_render_node_deserialize (GBytes *bytes,
|
||||
* Stores the given `GskRenderNode` inside `value`.
|
||||
*
|
||||
* The `GValue` will acquire a reference to the `node`.
|
||||
*
|
||||
* Since: 4.6
|
||||
*/
|
||||
void
|
||||
gsk_value_set_render_node (GValue *value,
|
||||
@ -663,6 +665,8 @@ gsk_value_set_render_node (GValue *value,
|
||||
* Stores the given `GskRenderNode` inside `value`.
|
||||
*
|
||||
* This function transfers the ownership of the `node` to the `GValue`.
|
||||
*
|
||||
* Since: 4.6
|
||||
*/
|
||||
void
|
||||
gsk_value_take_render_node (GValue *value,
|
||||
@ -696,6 +700,8 @@ gsk_value_take_render_node (GValue *value,
|
||||
* Retrieves the `GskRenderNode` stored inside the given `value`.
|
||||
*
|
||||
* Returns: (transfer none) (nullable): a `GskRenderNode`
|
||||
*
|
||||
* Since: 4.6
|
||||
*/
|
||||
GskRenderNode *
|
||||
gsk_value_get_render_node (const GValue *value)
|
||||
@ -713,6 +719,8 @@ gsk_value_get_render_node (const GValue *value)
|
||||
* a reference to it.
|
||||
*
|
||||
* Returns: (transfer full) (nullable): a `GskRenderNode`
|
||||
*
|
||||
* Since: 4.6
|
||||
*/
|
||||
GskRenderNode *
|
||||
gsk_value_dup_render_node (const GValue *value)
|
||||
|
@ -1142,6 +1142,8 @@ typedef enum {
|
||||
* [vfunc.GtkSymbolicPaintable.snapshot_symbolic].
|
||||
*
|
||||
* More values may be added over time.
|
||||
*
|
||||
* Since: 4.6
|
||||
*/
|
||||
typedef enum {
|
||||
GTK_SYMBOLIC_COLOR_FOREGROUND = 0,
|
||||
|
@ -38,6 +38,8 @@
|
||||
* and success information in that order.
|
||||
*
|
||||
* More colors may be added in the future.
|
||||
*
|
||||
* Since: 4.6
|
||||
*/
|
||||
|
||||
G_DEFINE_INTERFACE (GtkSymbolicPaintable, gtk_symbolic_paintable, GDK_TYPE_PAINTABLE)
|
||||
@ -72,6 +74,8 @@ gtk_symbolic_paintable_default_init (GtkSymbolicPaintableInterface *iface)
|
||||
*
|
||||
* If less than 4 colors are provided, GTK will pad the array with default
|
||||
* colors.
|
||||
*
|
||||
* Since: 4.6
|
||||
*/
|
||||
void
|
||||
gtk_symbolic_paintable_snapshot_symbolic (GtkSymbolicPaintable *paintable,
|
||||
|
Loading…
Reference in New Issue
Block a user