Skip to content

Commit

Permalink
Merge pull request #192 from gtk-rs/create-pull-request/patch
Browse files Browse the repository at this point in the history
Update GIR files (2024-03-10)
  • Loading branch information
sdroege authored Mar 10, 2024
2 parents 2437ecd + aa5b7d9 commit 0f9b1df
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Atk-1.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ A string name/value pair representing a generic attribute.</doc>
</parameters>
</function>
</record>
<constant name="BINARY_AGE" value="25200" c:type="ATK_BINARY_AGE" version="2.7.4">
<constant name="BINARY_AGE" value="25201" c:type="ATK_BINARY_AGE" version="2.7.4">
<doc xml:space="preserve">Like atk_get_binary_age(), but from the headers used at
application compile time, rather than from the library linked
against at application run time.</doc>
Expand Down Expand Up @@ -4721,7 +4721,7 @@ application compile time, rather than from the library linked
against at application run time.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MICRO_VERSION" value="90" c:type="ATK_MICRO_VERSION" version="2.7.4">
<constant name="MICRO_VERSION" value="91" c:type="ATK_MICRO_VERSION" version="2.7.4">
<doc xml:space="preserve">Like atk_get_micro_version(), but from the headers used at
application compile time, rather than from the library linked
against at application run time.</doc>
Expand Down
5 changes: 4 additions & 1 deletion GLib-2.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -60577,7 +60577,10 @@ positional parameters, as specified in the Single Unix Specification.
</parameters>
</function>
<function-macro name="warn_if_fail" c:identifier="g_warn_if_fail" version="2.16" introspectable="0">
<doc xml:space="preserve">Logs a warning if the expression is not true.</doc>
<doc xml:space="preserve">Logs a warning if the expression is not true.

Unlike g_return_if_fail(), the expression is always evaluated, even if
checks and assertions are disabled.</doc>
<parameters>
<parameter name="expr">
<doc xml:space="preserve">the expression to check</doc>
Expand Down
70 changes: 67 additions & 3 deletions Gtk-4.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -2827,6 +2827,43 @@ The @start and @end values contain the boundaries of the text.</doc>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="get_default_attributes" version="4.14">
<doc xml:space="preserve">Retrieves the default text attributes inside the accessible object.

Each attribute is composed by:

- a name
- a value

It is left to the implementation to determine the serialization format
of the value to a string.

GTK provides support for various text attribute names and values, but
implementations of this interface are free to add their own attributes.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">the accessible object</doc>
<type name="AccessibleText" c:type="GtkAccessibleText*"/>
</instance-parameter>
<parameter name="attribute_names" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve">the
names of the default attributes inside the accessible object</doc>
<array c:type="char***">
<type name="utf8" c:type="char**"/>
</array>
</parameter>
<parameter name="attribute_values" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve">the
values of the default attributes inside the accessible object</doc>
<array c:type="char***">
<type name="utf8" c:type="char**"/>
</array>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="get_selection" version="4.14">
<doc xml:space="preserve">Retrieves the selection ranges in the accessible object.

Expand Down Expand Up @@ -3103,6 +3140,33 @@ implementation.</doc>
</parameters>
</callback>
</field>
<field name="get_default_attributes">
<callback name="get_default_attributes">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">the accessible object</doc>
<type name="AccessibleText" c:type="GtkAccessibleText*"/>
</parameter>
<parameter name="attribute_names" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve">the
names of the default attributes inside the accessible object</doc>
<array c:type="char***">
<type name="utf8" c:type="char**"/>
</array>
</parameter>
<parameter name="attribute_values" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve">the
values of the default attributes inside the accessible object</doc>
<array c:type="char***">
<type name="utf8" c:type="char**"/>
</array>
</parameter>
</parameters>
</callback>
</field>
</record>
<record name="AccessibleTextRange" c:type="GtkAccessibleTextRange" version="4.14">
<doc xml:space="preserve">A range inside the text of an accessible object.</doc>
Expand Down Expand Up @@ -7290,7 +7354,7 @@ See gtk_assistant_commit() for details.</doc>
add its own buttons through gtk_assistant_add_action_widget().</doc>
</member>
</enumeration>
<constant name="BINARY_AGE" value="1309" c:type="GTK_BINARY_AGE">
<constant name="BINARY_AGE" value="1400" c:type="GTK_BINARY_AGE">
<doc xml:space="preserve">Like [func@get_binary_age], but from the headers used at
application compile time, rather than from the library linked
against at application run time.</doc>
Expand Down Expand Up @@ -59627,13 +59691,13 @@ against at application run time.</doc>
</parameter>
</parameters>
</function-macro>
<constant name="MICRO_VERSION" value="9" c:type="GTK_MICRO_VERSION">
<constant name="MICRO_VERSION" value="0" c:type="GTK_MICRO_VERSION">
<doc xml:space="preserve">Like [func@get_micro_version], but from the headers used at
application compile time, rather than from the library linked
against at application run time.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MINOR_VERSION" value="13" c:type="GTK_MINOR_VERSION">
<constant name="MINOR_VERSION" value="14" c:type="GTK_MINOR_VERSION">
<doc xml:space="preserve">Like [func@get_minor_version], but from the headers used at
application compile time, rather than from the library linked
against at application run time.</doc>
Expand Down
4 changes: 2 additions & 2 deletions Pango-1.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -12145,15 +12145,15 @@ Two encoded version numbers can be compared as integers.</doc>
<doc xml:space="preserve">The major component of the version of Pango available at compile-time.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="VERSION_MICRO" value="1" c:type="PANGO_VERSION_MICRO">
<constant name="VERSION_MICRO" value="2" c:type="PANGO_VERSION_MICRO">
<doc xml:space="preserve">The micro component of the version of Pango available at compile-time.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="VERSION_MINOR" value="52" c:type="PANGO_VERSION_MINOR">
<doc xml:space="preserve">The minor component of the version of Pango available at compile-time.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="VERSION_STRING" value="1.52.1" c:type="PANGO_VERSION_STRING">
<constant name="VERSION_STRING" value="1.52.2" c:type="PANGO_VERSION_STRING">
<doc xml:space="preserve">A string literal containing the version of Pango available at compile-time.</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
Expand Down

0 comments on commit 0f9b1df

Please sign in to comment.