Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 59665d4

Browse files
committed
Regenerate with latest gir
1 parent 2c6dc8b commit 59665d4

File tree

149 files changed

+290
-149
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+290
-149
lines changed

atk/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 50377b886959)
22
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)

atk/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 50377b886959)
22
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)

gdk/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 50377b886959)
22
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)

gdk/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 50377b886959)
22
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)

gdkx11/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 50377b886959)
22
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)

gdkx11/src/auto/x11_device_manager_xi2.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ impl X11DeviceManagerXI2 {
4747
/// A [builder-pattern] type to construct [`X11DeviceManagerXI2`] objects.
4848
///
4949
/// [builder-pattern]: https://doc.rust-lang.org/1.0.0/style/ownership/builders.html
50+
#[must_use = "The builder must be built to be used"]
5051
pub struct X11DeviceManagerXI2Builder {
5152
major: Option<i32>,
5253
minor: Option<i32>,
@@ -63,7 +64,7 @@ impl X11DeviceManagerXI2Builder {
6364

6465
// rustdoc-stripper-ignore-next
6566
/// Build the [`X11DeviceManagerXI2`].
66-
#[must_use = "The builder must be built to be used"]
67+
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
6768
pub fn build(self) -> X11DeviceManagerXI2 {
6869
let mut properties: Vec<(&str, &dyn ToValue)> = vec![];
6970
if let Some(ref major) = self.major {

gdkx11/src/auto/x11_device_xi2.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ impl X11DeviceXI2 {
3939
/// A [builder-pattern] type to construct [`X11DeviceXI2`] objects.
4040
///
4141
/// [builder-pattern]: https://doc.rust-lang.org/1.0.0/style/ownership/builders.html
42+
#[must_use = "The builder must be built to be used"]
4243
pub struct X11DeviceXI2Builder {
4344
device_id: Option<i32>,
4445
device_manager: Option<gdk::DeviceManager>,
@@ -65,7 +66,7 @@ impl X11DeviceXI2Builder {
6566

6667
// rustdoc-stripper-ignore-next
6768
/// Build the [`X11DeviceXI2`].
68-
#[must_use = "The builder must be built to be used"]
69+
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
6970
pub fn build(self) -> X11DeviceXI2 {
7071
let mut properties: Vec<(&str, &dyn ToValue)> = vec![];
7172
if let Some(ref device_id) = self.device_id {

gdkx11/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ a69abbe5ee1a)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 50377b886959)
22
from gir-files (https://github.com/gtk-rs/gir-files @ b827978e7d18)

gtk/src/auto/about_dialog.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ impl Default for AboutDialog {
6363
/// A [builder-pattern] type to construct [`AboutDialog`] objects.
6464
///
6565
/// [builder-pattern]: https://doc.rust-lang.org/1.0.0/style/ownership/builders.html
66+
#[must_use = "The builder must be built to be used"]
6667
pub struct AboutDialogBuilder {
6768
artists: Option<Vec<String>>,
6869
authors: Option<Vec<String>>,
@@ -156,7 +157,7 @@ impl AboutDialogBuilder {
156157

157158
// rustdoc-stripper-ignore-next
158159
/// Build the [`AboutDialog`].
159-
#[must_use = "The builder must be built to be used"]
160+
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
160161
pub fn build(self) -> AboutDialog {
161162
let mut properties: Vec<(&str, &dyn ToValue)> = vec![];
162163
if let Some(ref artists) = self.artists {

gtk/src/auto/accel_label.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ impl Default for AccelLabel {
6262
/// A [builder-pattern] type to construct [`AccelLabel`] objects.
6363
///
6464
/// [builder-pattern]: https://doc.rust-lang.org/1.0.0/style/ownership/builders.html
65+
#[must_use = "The builder must be built to be used"]
6566
pub struct AccelLabelBuilder {
6667
accel_closure: Option<glib::Closure>,
6768
accel_widget: Option<Widget>,
@@ -129,7 +130,7 @@ impl AccelLabelBuilder {
129130

130131
// rustdoc-stripper-ignore-next
131132
/// Build the [`AccelLabel`].
132-
#[must_use = "The builder must be built to be used"]
133+
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
133134
pub fn build(self) -> AccelLabel {
134135
let mut properties: Vec<(&str, &dyn ToValue)> = vec![];
135136
if let Some(ref accel_closure) = self.accel_closure {

0 commit comments

Comments
 (0)