Skip to content

Commit 0bdf7bf

Browse files
authored
Merge pull request #128 from gtk-rs/create-pull-request/patch
Update GIR files (2022-09-25)
2 parents ae8d2dc + 70c5f7a commit 0bdf7bf

File tree

5 files changed

+26
-30
lines changed

5 files changed

+26
-30
lines changed

Atk-1.0.gir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ A string name/value pair representing a generic attribute.</doc>
544544
</parameters>
545545
</function>
546546
</record>
547-
<constant name="BINARY_AGE" value="24601" c:type="ATK_BINARY_AGE" version="2.7.4">
547+
<constant name="BINARY_AGE" value="24610" c:type="ATK_BINARY_AGE" version="2.7.4">
548548
<doc xml:space="preserve">Like atk_get_binary_age(), but from the headers used at
549549
application compile time, rather than from the library linked
550550
against at application run time.</doc>
@@ -4539,13 +4539,13 @@ application compile time, rather than from the library linked
45394539
against at application run time.</doc>
45404540
<type name="gint" c:type="gint"/>
45414541
</constant>
4542-
<constant name="MICRO_VERSION" value="91" c:type="ATK_MICRO_VERSION" version="2.7.4">
4542+
<constant name="MICRO_VERSION" value="0" c:type="ATK_MICRO_VERSION" version="2.7.4">
45434543
<doc xml:space="preserve">Like atk_get_micro_version(), but from the headers used at
45444544
application compile time, rather than from the library linked
45454545
against at application run time.</doc>
45464546
<type name="gint" c:type="gint"/>
45474547
</constant>
4548-
<constant name="MINOR_VERSION" value="45" c:type="ATK_MINOR_VERSION" version="2.7.4">
4548+
<constant name="MINOR_VERSION" value="46" c:type="ATK_MINOR_VERSION" version="2.7.4">
45494549
<doc xml:space="preserve">Like atk_get_minor_version(), but from the headers used at
45504550
application compile time, rather than from the library linked
45514551
against at application run time.</doc>

GLib-2.0.gir

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13869,7 +13869,7 @@ linked against at application run time.</doc>
1386913869
<doc xml:space="preserve">The maximum value which can be held in a #guint8.</doc>
1387013870
<type name="guint8" c:type="guint8"/>
1387113871
</constant>
13872-
<constant name="MICRO_VERSION" value="3" c:type="GLIB_MICRO_VERSION">
13872+
<constant name="MICRO_VERSION" value="1" c:type="GLIB_MICRO_VERSION">
1387313873
<doc xml:space="preserve">The micro version number of the GLib library.
1387413874

1387513875
Like #gtk_micro_version, but from the headers used at
@@ -13893,7 +13893,7 @@ linked against at application run time.</doc>
1389313893
<doc xml:space="preserve">The minimum value which can be held in a #gint8.</doc>
1389413894
<type name="gint8" c:type="gint8"/>
1389513895
</constant>
13896-
<constant name="MINOR_VERSION" value="73" c:type="GLIB_MINOR_VERSION">
13896+
<constant name="MINOR_VERSION" value="74" c:type="GLIB_MINOR_VERSION">
1389713897
<doc xml:space="preserve">The minor version number of the GLib library.
1389813898

1389913899
Like #gtk_minor_version, but from the headers used at
@@ -15645,7 +15645,7 @@ the number of matched substrings.</doc>
1564515645
<doc xml:space="preserve">Returns #GRegex object used in @match_info. It belongs to Glib
1564615646
and must not be freed. Use g_regex_ref() if you need to keep it
1564715647
after you free @match_info object.</doc>
15648-
<return-value transfer-ownership="full">
15648+
<return-value transfer-ownership="none">
1564915649
<doc xml:space="preserve">#GRegex object used in @match_info</doc>
1565015650
<type name="Regex" c:type="GRegex*"/>
1565115651
</return-value>
@@ -55536,11 +55536,11 @@ invoked g_unix_signal_source_new().
5553655536

5553755537
For example, an effective use of this function is to handle `SIGTERM`
5553855538
cleanly; flushing any outstanding files, and then calling
55539-
g_main_loop_quit (). It is not safe to do any of this a regular
55540-
UNIX signal handler; your handler may be invoked while malloc() or
55541-
another library function is running, causing reentrancy if you
55542-
attempt to use it from the handler. None of the GLib/GObject API
55543-
is safe against this kind of reentrancy.
55539+
g_main_loop_quit(). It is not safe to do any of this from a regular
55540+
UNIX signal handler; such a handler may be invoked while malloc() or
55541+
another library function is running, causing reentrancy issues if the
55542+
handler attempts to use those functions. None of the GLib/GObject
55543+
API is safe against this kind of reentrancy.
5554455544

5554555545
The interaction of this source when combined with native UNIX
5554655546
functions like sigprocmask() is not defined.

GObject-2.0.gir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16617,7 +16617,7 @@ doesn't need a function pointer exposed in the class structure of
1661716617
an object definition, instead the function pointer is passed
1661816618
directly and can be overridden by derived classes with
1661916619
g_signal_override_class_closure() or
16620-
g_signal_override_class_handler()and chained to with
16620+
g_signal_override_class_handler() and chained to with
1662116621
g_signal_chain_from_overridden() or
1662216622
g_signal_chain_from_overridden_handler().
1662316623

Gio-2.0.gir

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,11 +1133,11 @@ fields may or may not have been modified.</doc>
11331133
<doc xml:space="preserve">if the action is presently enabled</doc>
11341134
<type name="gboolean" c:type="gboolean*"/>
11351135
</parameter>
1136-
<parameter name="parameter_type" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
1136+
<parameter name="parameter_type" direction="out" caller-allocates="0" transfer-ownership="none" optional="1" allow-none="1">
11371137
<doc xml:space="preserve">the parameter type, or %NULL if none needed</doc>
11381138
<type name="GLib.VariantType" c:type="const GVariantType**"/>
11391139
</parameter>
1140-
<parameter name="state_type" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
1140+
<parameter name="state_type" direction="out" caller-allocates="0" transfer-ownership="none" optional="1" allow-none="1">
11411141
<doc xml:space="preserve">the state type, or %NULL if stateless</doc>
11421142
<type name="GLib.VariantType" c:type="const GVariantType**"/>
11431143
</parameter>
@@ -1533,11 +1533,11 @@ fields may or may not have been modified.</doc>
15331533
<doc xml:space="preserve">if the action is presently enabled</doc>
15341534
<type name="gboolean" c:type="gboolean*"/>
15351535
</parameter>
1536-
<parameter name="parameter_type" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
1536+
<parameter name="parameter_type" direction="out" caller-allocates="0" transfer-ownership="none" optional="1" allow-none="1">
15371537
<doc xml:space="preserve">the parameter type, or %NULL if none needed</doc>
15381538
<type name="GLib.VariantType" c:type="const GVariantType**"/>
15391539
</parameter>
1540-
<parameter name="state_type" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
1540+
<parameter name="state_type" direction="out" caller-allocates="0" transfer-ownership="none" optional="1" allow-none="1">
15411541
<doc xml:space="preserve">the state type, or %NULL if stateless</doc>
15421542
<type name="GLib.VariantType" c:type="const GVariantType**"/>
15431543
</parameter>
@@ -1879,11 +1879,11 @@ actions in the group</doc>
18791879
<doc xml:space="preserve">if the action is presently enabled</doc>
18801880
<type name="gboolean" c:type="gboolean*"/>
18811881
</parameter>
1882-
<parameter name="parameter_type" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
1882+
<parameter name="parameter_type" direction="out" caller-allocates="0" transfer-ownership="none" optional="1" allow-none="1">
18831883
<doc xml:space="preserve">the parameter type, or %NULL if none needed</doc>
18841884
<type name="GLib.VariantType" c:type="const GVariantType**"/>
18851885
</parameter>
1886-
<parameter name="state_type" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
1886+
<parameter name="state_type" direction="out" caller-allocates="0" transfer-ownership="none" optional="1" allow-none="1">
18871887
<doc xml:space="preserve">the state type, or %NULL if stateless</doc>
18881888
<type name="GLib.VariantType" c:type="const GVariantType**"/>
18891889
</parameter>

Gtk-4.0.gir

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5609,7 +5609,7 @@ See gtk_assistant_commit() for details.</doc>
56095609
add its own buttons through gtk_assistant_add_action_widget().</doc>
56105610
</member>
56115611
</enumeration>
5612-
<constant name="BINARY_AGE" value="800" c:type="GTK_BINARY_AGE">
5612+
<constant name="BINARY_AGE" value="801" c:type="GTK_BINARY_AGE">
56135613
<doc xml:space="preserve">Like [func@get_binary_age], but from the headers used at
56145614
application compile time, rather than from the library linked
56155615
against at application run time.</doc>
@@ -35591,7 +35591,11 @@ If the selected font is not installed, returns %NULL.</doc>
3559135591
</method>
3559235592
<method name="get_font_features" c:identifier="gtk_font_chooser_get_font_features" glib:get-property="font-features">
3559335593
<attribute name="org.gtk.Method.get_property" value="font-features"/>
35594-
<doc xml:space="preserve">Gets the currently-selected font features.</doc>
35594+
<doc xml:space="preserve">Gets the currently-selected font features.
35595+
35596+
The format of the returned string is compatible with the
35597+
[CSS font-feature-settings property](https://www.w3.org/TR/css-fonts-4/#font-rend-desc).
35598+
It can be passed to [[email protected]].</doc>
3559535599
<return-value transfer-ownership="full">
3559635600
<doc xml:space="preserve">the currently selected font features</doc>
3559735601
<type name="utf8" c:type="char*"/>
@@ -41973,7 +41977,7 @@ signal in case of conversion failure.
4197341977
See [[email protected]::input].</doc>
4197441978
<type name="gint" c:type="gint"/>
4197541979
</constant>
41976-
<constant name="INTERFACE_AGE" value="0" c:type="GTK_INTERFACE_AGE">
41980+
<constant name="INTERFACE_AGE" value="1" c:type="GTK_INTERFACE_AGE">
4197741981
<doc xml:space="preserve">Like [func@get_interface_age], but from the headers used at
4197841982
application compile time, rather than from the library linked
4197941983
against at application run time.</doc>
@@ -52831,7 +52835,7 @@ against at application run time.</doc>
5283152835
</parameter>
5283252836
</parameters>
5283352837
</function-macro>
52834-
<constant name="MICRO_VERSION" value="0" c:type="GTK_MICRO_VERSION">
52838+
<constant name="MICRO_VERSION" value="1" c:type="GTK_MICRO_VERSION">
5283552839
<doc xml:space="preserve">Like [func@get_micro_version], but from the headers used at
5283652840
application compile time, rather than from the library linked
5283752841
against at application run time.</doc>
@@ -55816,14 +55820,6 @@ If @position is larger than the number of sorters, nothing happens.</doc>
5581655820
<type name="SorterClass" c:type="GtkSorterClass"/>
5581755821
</field>
5581855822
</record>
55819-
<function-macro name="NOTE" c:identifier="GTK_NOTE" introspectable="0">
55820-
<parameters>
55821-
<parameter name="type">
55822-
</parameter>
55823-
<parameter name="action">
55824-
</parameter>
55825-
</parameters>
55826-
</function-macro>
5582755823
<function-macro name="NOTEBOOK" c:identifier="GTK_NOTEBOOK" introspectable="0">
5582855824
<parameters>
5582955825
<parameter name="obj">

0 commit comments

Comments
 (0)