Skip to content

Commit 2496141

Browse files
sdroegebilelmoussaoui
authored andcommitted
Update GIR files
1 parent 08b5eb7 commit 2496141

File tree

7 files changed

+140
-30
lines changed

7 files changed

+140
-30
lines changed

GObject-2.0.gir

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11202,7 +11202,7 @@ class pointer after g_type_class_unref() are invalid.</doc>
1120211202
<type name="none" c:type="void"/>
1120311203
</return-value>
1120411204
<parameters>
11205-
<instance-parameter name="g_class" transfer-ownership="full">
11205+
<instance-parameter name="g_class" transfer-ownership="none">
1120611206
<doc xml:space="preserve">a #GTypeClass structure to unref</doc>
1120711207
<type name="TypeClass" c:type="gpointer"/>
1120811208
</instance-parameter>
@@ -11297,13 +11297,13 @@ static types.</doc>
1129711297
</parameter>
1129811298
</parameters>
1129911299
</function>
11300-
<function name="ref" c:identifier="g_type_class_ref" introspectable="0" deprecated="1" deprecated-version="2.84">
11300+
<function name="ref" c:identifier="g_type_class_ref" deprecated="1" deprecated-version="2.84">
1130111301
<doc xml:space="preserve">Increments the reference count of the class structure belonging to
1130211302
@type.
1130311303

1130411304
This function will demand-create the class if it doesn't exist already.</doc>
1130511305
<doc-deprecated xml:space="preserve">Use g_type_class_get() instead</doc-deprecated>
11306-
<return-value transfer-ownership="full">
11306+
<return-value transfer-ownership="none">
1130711307
<doc xml:space="preserve">the #GTypeClass
1130811308
structure for the given type ID</doc>
1130911309
<type name="TypeClass" c:type="gpointer"/>
@@ -18956,6 +18956,24 @@ static types.</doc>
1895618956
</parameter>
1895718957
</parameters>
1895818958
</function>
18959+
<function name="type_class_ref" c:identifier="g_type_class_ref" moved-to="TypeClass.ref" deprecated="1" deprecated-version="2.84">
18960+
<doc xml:space="preserve">Increments the reference count of the class structure belonging to
18961+
@type.
18962+
18963+
This function will demand-create the class if it doesn't exist already.</doc>
18964+
<doc-deprecated xml:space="preserve">Use g_type_class_get() instead</doc-deprecated>
18965+
<return-value transfer-ownership="none">
18966+
<doc xml:space="preserve">the #GTypeClass
18967+
structure for the given type ID</doc>
18968+
<type name="TypeClass" c:type="gpointer"/>
18969+
</return-value>
18970+
<parameters>
18971+
<parameter name="type" transfer-ownership="none">
18972+
<doc xml:space="preserve">type ID of a classed type</doc>
18973+
<type name="GType" c:type="GType"/>
18974+
</parameter>
18975+
</parameters>
18976+
</function>
1895918977
<function name="type_create_instance" c:identifier="g_type_create_instance" introspectable="0">
1896018978
<doc xml:space="preserve">Creates and initializes an instance of @type if @type is valid and
1896118979
can be instantiated. The type system only performs basic allocation
@@ -19027,7 +19045,7 @@ default interface vtable.</doc>
1902719045
</parameter>
1902819046
</parameters>
1902919047
</function>
19030-
<function name="type_default_interface_ref" c:identifier="g_type_default_interface_ref" version="2.4" introspectable="0" deprecated="1" deprecated-version="2.84">
19048+
<function name="type_default_interface_ref" c:identifier="g_type_default_interface_ref" version="2.4" deprecated="1" deprecated-version="2.84">
1903119049
<doc xml:space="preserve">Increments the reference count for the interface type @g_type,
1903219050
and returns the default interface vtable for the type.
1903319051

@@ -19039,7 +19057,7 @@ Calling g_type_default_interface_ref() is useful when you
1903919057
want to make sure that signals and properties for an interface
1904019058
have been installed.</doc>
1904119059
<doc-deprecated xml:space="preserve">Use g_type_default_interface_get() instead</doc-deprecated>
19042-
<return-value transfer-ownership="full">
19060+
<return-value transfer-ownership="none">
1904319061
<doc xml:space="preserve">the default
1904419062
vtable for the interface; call g_type_default_interface_unref()
1904519063
when you are done using the interface.</doc>
@@ -19066,7 +19084,7 @@ default vtable (the @class_finalize member of #GTypeInfo) will be called.</doc>
1906619084
<type name="none" c:type="void"/>
1906719085
</return-value>
1906819086
<parameters>
19069-
<parameter name="g_iface" transfer-ownership="full">
19087+
<parameter name="g_iface" transfer-ownership="none">
1907019088
<doc xml:space="preserve">the default vtable
1907119089
structure for an interface, as returned by g_type_default_interface_ref()</doc>
1907219090
<type name="TypeInterface" c:type="gpointer"/>

Gdk-4.0.gir

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19039,6 +19039,19 @@ in the range 0 to 1.</doc>
1903919039
</parameter>
1904019040
</parameters>
1904119041
</method>
19042+
<method name="print" c:identifier="gdk_rgba_print">
19043+
<return-value transfer-ownership="full">
19044+
<type name="GLib.String" c:type="GString*"/>
19045+
</return-value>
19046+
<parameters>
19047+
<instance-parameter name="rgba" transfer-ownership="none">
19048+
<type name="RGBA" c:type="const GdkRGBA*"/>
19049+
</instance-parameter>
19050+
<parameter name="string" transfer-ownership="none">
19051+
<type name="GLib.String" c:type="GString*"/>
19052+
</parameter>
19053+
</parameters>
19054+
</method>
1904219055
<method name="to_string" c:identifier="gdk_rgba_to_string">
1904319056
<doc xml:space="preserve">Returns a textual specification of @rgba in the form
1904419057
`rgb(r,g,b)` or `rgba(r,g,b,a)`, where &#x201C;r&#x201D;, &#x201C;g&#x201D;, &#x201C;b&#x201D; and
@@ -19242,13 +19255,16 @@ zero width or height).</doc>
1924219255
</enumeration>
1924319256
<class name="ScrollEvent" c:symbol-prefix="scroll_event" c:type="GdkScrollEvent" parent="Event" glib:type-name="GdkScrollEvent" glib:get-type="gdk_scroll_event_get_type" glib:fundamental="1">
1924419257
<doc xml:space="preserve">An event related to a scrolling motion.</doc>
19245-
<function name="get_relative_direction" c:identifier="gdk_scroll_event_get_relative_direction">
19258+
<function name="get_relative_direction" c:identifier="gdk_scroll_event_get_relative_direction" version="4.20">
19259+
<doc xml:space="preserve">Extracts the scroll direction relative to the physical motion.</doc>
1924619260
<return-value transfer-ownership="none">
19261+
<doc xml:space="preserve">the relative scroll direction.</doc>
1924719262
<type name="ScrollRelativeDirection" c:type="GdkScrollRelativeDirection"/>
1924819263
</return-value>
1924919264
<parameters>
1925019265
<parameter name="event" transfer-ownership="none">
19251-
<type name="Event" c:type="GdkEvent*"/>
19266+
<doc xml:space="preserve">a relative scroll direction.</doc>
19267+
<type name="ScrollRelativeDirection" c:type="GdkEvent*"/>
1925219268
</parameter>
1925319269
</parameters>
1925419270
</function>
@@ -21038,6 +21054,7 @@ calling this function.</doc>
2103821054
<method name="get_capabilities" c:identifier="gdk_toplevel_get_capabilities" glib:get-property="capabilities" version="4.20">
2103921055
<doc xml:space="preserve">The capabilities that are available for this toplevel.</doc>
2104021056
<return-value transfer-ownership="none">
21057+
<doc xml:space="preserve">the capabilities of the `GdkToplevel`.</doc>
2104121058
<type name="ToplevelCapabilities" c:type="GdkToplevelCapabilities"/>
2104221059
</return-value>
2104321060
<parameters>

Gio-2.0.gir

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2957,7 +2957,7 @@ will return `NULL`.
29572957
This function does not take in consideration associations added with
29582958
[[email protected]_supports_type], but only those exported directly by
29592959
the application.</doc>
2960-
<return-value transfer-ownership="none">
2960+
<return-value transfer-ownership="none" nullable="1">
29612961
<doc xml:space="preserve">
29622962
a list of content types.</doc>
29632963
<array c:type="const char**">
@@ -3435,7 +3435,7 @@ will return `NULL`.
34353435
This function does not take in consideration associations added with
34363436
[[email protected]_supports_type], but only those exported directly by
34373437
the application.</doc>
3438-
<return-value transfer-ownership="none">
3438+
<return-value transfer-ownership="none" nullable="1">
34393439
<doc xml:space="preserve">
34403440
a list of content types.</doc>
34413441
<array c:type="const char**">
@@ -4121,7 +4121,7 @@ no display name is available.</doc>
41214121
<doc xml:space="preserve">Retrieves the list of content types that @app_info
41224122
claims to support.</doc>
41234123
<callback name="get_supported_types">
4124-
<return-value transfer-ownership="none">
4124+
<return-value transfer-ownership="none" nullable="1">
41254125
<doc xml:space="preserve">
41264126
a list of content types.</doc>
41274127
<array c:type="const char**">
@@ -7066,7 +7066,7 @@ long as @cmdline exists.
70667066

70677067
See g_application_command_line_getenv() if you are only interested
70687068
in the value of a single environment variable.</doc>
7069-
<return-value transfer-ownership="none">
7069+
<return-value transfer-ownership="none" nullable="1">
70707070
<doc xml:space="preserve">
70717071
the environment strings, or %NULL if they were not sent</doc>
70727072
<array c:type="const gchar* const*">
@@ -72370,7 +72370,7 @@ a UNIX socket).
7237072370
These messages are sent with [[email protected]_message] and received
7237172371
with [[email protected]_message].
7237272372

72373-
To extend the set of control message that can be sent, subclass this
72373+
To extend the set of control messages that can be sent, subclass this
7237472374
class and override the `get_size`, `get_level`, `get_type` and `serialize`
7237572375
methods.
7237672376

GioUnix-2.0.gir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ in it is set to `True`.</doc>
295295
</method>
296296
<method name="get_keywords" c:identifier="g_desktop_app_info_get_keywords" version="2.32">
297297
<doc xml:space="preserve">Gets the keywords from the desktop file.</doc>
298-
<return-value transfer-ownership="none">
298+
<return-value transfer-ownership="none" nullable="1">
299299
<doc xml:space="preserve">The value of the
300300
[`Keywords` key](https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html#key-keywords)</doc>
301301
<array c:type="const char* const*">
@@ -416,7 +416,7 @@ The @key is looked up in the `Desktop Entry` group.</doc>
416416
<doc xml:space="preserve">Looks up a string list value in the keyfile backing @info.
417417

418418
The @key is looked up in the `Desktop Entry` group.</doc>
419-
<return-value transfer-ownership="full">
419+
<return-value transfer-ownership="full" nullable="1">
420420
<doc xml:space="preserve">
421421
a `NULL`-terminated string array or `NULL` if the specified
422422
key cannot be found. The array should be freed with [[email protected]].</doc>

Gsk-4.0.gir

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,8 @@ where k is the smallest value such that
777777
</function>
778778
</record>
779779
<class name="ComponentTransferNode" c:symbol-prefix="component_transfer_node" c:type="GskComponentTransferNode" version="4.20" parent="RenderNode" glib:type-name="GskComponentTransferNode" glib:get-type="gsk_component_transfer_node_get_type" glib:fundamental="1">
780+
<doc xml:space="preserve">A render node for applying a `GskComponentTransfer` for each color
781+
component of the child node.</doc>
780782
<constructor name="new" c:identifier="gsk_component_transfer_node_new" version="4.20">
781783
<doc xml:space="preserve">Creates a render node that will apply component
782784
transfers to a child node.</doc>
@@ -2689,6 +2691,26 @@ constructed from B&#xE9;zier segments.
26892691
&lt;source srcset="path-dark.png" media="(prefers-color-scheme: dark)"&gt;
26902692
&lt;img alt="A Path" src="path-light.png"&gt;
26912693
&lt;/picture&gt;</doc>
2694+
<method name="equal" c:identifier="gsk_path_equal" version="4.22">
2695+
<doc xml:space="preserve">Returns whether two paths have identical structure.
2696+
2697+
Note that it is possible to construct paths that render
2698+
identical even though they don't have the same structure.</doc>
2699+
<return-value transfer-ownership="none">
2700+
<doc xml:space="preserve">true if @path1 and @path2 have identical structure</doc>
2701+
<type name="gboolean" c:type="gboolean"/>
2702+
</return-value>
2703+
<parameters>
2704+
<instance-parameter name="path1" transfer-ownership="none">
2705+
<doc xml:space="preserve">a path</doc>
2706+
<type name="Path" c:type="const GskPath*"/>
2707+
</instance-parameter>
2708+
<parameter name="path2" transfer-ownership="none">
2709+
<doc xml:space="preserve">another path</doc>
2710+
<type name="Path" c:type="const GskPath*"/>
2711+
</parameter>
2712+
</parameters>
2713+
</method>
26922714
<method name="foreach" c:identifier="gsk_path_foreach" version="4.14">
26932715
<doc xml:space="preserve">Calls @func for every operation of the path.
26942716

@@ -7044,7 +7066,7 @@ by this function, use
70447066
gsk_transform_skew (
70457067
gsk_transform_scale (
70467068
gsk_transform_rotate (
7047-
gsk_transform_translate (NULL, &amp;GRAPHENE_POINT_T (dx, dy)),
7069+
gsk_transform_translate (NULL, &amp;GRAPHENE_POINT_INIT (dx, dy)),
70487070
angle),
70497071
scale_x, scale_y),
70507072
skew_x, skew_y)

0 commit comments

Comments
 (0)