Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GIR files (2023-08-01) #163

Merged
merged 1 commit into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions GLib-2.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -54015,6 +54015,11 @@ called with the same type of fixture (the @data_size argument), but varying
</parameter>
</parameters>
</function>
<function name="test_disable_crash_reporting" c:identifier="g_test_disable_crash_reporting">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They have a since annotation upstream, the usual g-i update dance is needed. Sad me.

<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="test_expect_message" c:identifier="g_test_expect_message" version="2.34">
<doc xml:space="preserve">Indicates that a message with the given @log_domain and @log_level,
with text matching @pattern, is expected to be logged. When this
Expand Down
6 changes: 5 additions & 1 deletion Gdk-4.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -14623,7 +14623,11 @@ for details).</doc>
<doc xml:space="preserve">One guint16 value; for alpha.
Since: 4.12</doc>
</member>
<member name="n_formats" value="26" c:identifier="GDK_MEMORY_N_FORMATS" glib:nick="n-formats" glib:name="GDK_MEMORY_N_FORMATS">
<member name="a16_float" value="26" c:identifier="GDK_MEMORY_A16_FLOAT" glib:nick="a16-float" glib:name="GDK_MEMORY_A16_FLOAT">
</member>
<member name="a32_float" value="27" c:identifier="GDK_MEMORY_A32_FLOAT" glib:nick="a32-float" glib:name="GDK_MEMORY_A32_FLOAT">
</member>
<member name="n_formats" value="28" c:identifier="GDK_MEMORY_N_FORMATS" glib:nick="n-formats" glib:name="GDK_MEMORY_N_FORMATS">
<doc xml:space="preserve">The number of formats. This value will change as
more formats get added, so do not rely on its concrete integer.</doc>
</member>
Expand Down
29 changes: 29 additions & 0 deletions Gio-2.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -39043,6 +39043,19 @@ not contain a byte string, %NULL will be returned.</doc>
</parameter>
</parameters>
</method>
<method name="get_attribute_file_path" c:identifier="g_file_info_get_attribute_file_path">
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<type name="FileInfo" c:type="GFileInfo*"/>
</instance-parameter>
<parameter name="attribute" transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="get_attribute_int32" c:identifier="g_file_info_get_attribute_int32">
<doc xml:space="preserve">Gets a signed 32-bit integer contained within the attribute. If the
attribute does not contain a signed 32-bit integer, or is invalid,
Expand Down Expand Up @@ -39688,6 +39701,22 @@ if possible.</doc>
</parameter>
</parameters>
</method>
<method name="set_attribute_file_path" c:identifier="g_file_info_set_attribute_file_path">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<type name="FileInfo" c:type="GFileInfo*"/>
</instance-parameter>
<parameter name="attribute" transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="attr_value" transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="set_attribute_int32" c:identifier="g_file_info_set_attribute_int32">
<doc xml:space="preserve">Sets the @attribute to contain the given @attr_value,
if possible.</doc>
Expand Down
17 changes: 17 additions & 0 deletions Graphene-1.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -3200,6 +3200,23 @@ or graphene_point_init_from_point(), e.g.:
</parameter>
</parameters>
</method>
<method name="distance_squared" c:identifier="graphene_point_distance_squared" version="1.12">
<doc xml:space="preserve">Computes the squared distance between @a and @b.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the distance between the two points, squared</doc>
<type name="gfloat" c:type="float"/>
</return-value>
<parameters>
<instance-parameter name="a" transfer-ownership="none">
<doc xml:space="preserve">a #graphene_point_t</doc>
<type name="Point" c:type="const graphene_point_t*"/>
</instance-parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve">a #graphene_point_t</doc>
<type name="Point" c:type="const graphene_point_t*"/>
</parameter>
</parameters>
</method>
<method name="equal" c:identifier="graphene_point_equal" version="1.0">
<doc xml:space="preserve">Checks if the two points @a and @b point to the same
coordinates.
Expand Down
15 changes: 6 additions & 9 deletions Gtk-4.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -25101,9 +25101,6 @@ only available when GTK has been configured with `-Ddebug=true`.</doc>
<member name="interactive" value="1024" c:identifier="GTK_DEBUG_INTERACTIVE" glib:nick="interactive" glib:name="GTK_DEBUG_INTERACTIVE">
<doc xml:space="preserve">Open the GTK inspector</doc>
</member>
<member name="touchscreen" value="2048" c:identifier="GTK_DEBUG_TOUCHSCREEN" glib:nick="touchscreen" glib:name="GTK_DEBUG_TOUCHSCREEN">
<doc xml:space="preserve">Pretend the pointer is a touchscreen</doc>
</member>
<member name="actions" value="4096" c:identifier="GTK_DEBUG_ACTIONS" glib:nick="actions" glib:name="GTK_DEBUG_ACTIONS">
<doc xml:space="preserve">Information about actions and menu models</doc>
</member>
Expand Down Expand Up @@ -79667,19 +79664,19 @@ More flags may be added in the future.</doc>
<doc xml:space="preserve">`GtkShortcutController` is an event controller that manages shortcuts.

Most common shortcuts are using this controller implicitly, e.g. by
adding a mnemonic underline to a `GtkLabel`, or by installing a key
adding a mnemonic underline to a [[email protected]], or by installing a key
binding using [[email protected]_binding], or by adding accelerators
to global actions using [[email protected]_accels_for_action].

But it is possible to create your own shortcut controller, and add
shortcuts to it.

`GtkShortcutController` implements `GListModel` for querying the
`GtkShortcutController` implements [[email protected]] for querying the
shortcuts that have been added to it.

# GtkShortcutController as a GtkBuildable
# GtkShortcutController as GtkBuildable

`GtkShortcutControllers` can be creates in ui files to set up
`GtkShortcutController`s can be created in [[email protected]] ui files, to set up
shortcuts in the same place as the widgets.

An example of a UI definition fragment with `GtkShortcutController`:
Expand All @@ -79700,8 +79697,8 @@ An example of a UI definition fragment with `GtkShortcutController`:
```

This example creates a [[email protected]] for triggering the
`activate` signal of the `GtkButton`. See [[email protected]_string]
for the syntax for other kinds of `GtkShortcutAction`. See
`activate` signal of the [[email protected]]. See [[email protected]_string]
for the syntax for other kinds of [[email protected]]. See
[[email protected]_string] to learn more about the syntax
for triggers.</doc>
<implements name="Gio.ListModel"/>
Expand Down
Loading