Skip to content
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
4 changes: 2 additions & 2 deletions gdk4-wayland/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
Generated by gir (https://github.com/gtk-rs/gir @ d7ce1bd186a7)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
4 changes: 2 additions & 2 deletions gdk4-wayland/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
Generated by gir (https://github.com/gtk-rs/gir @ d7ce1bd186a7)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
4 changes: 2 additions & 2 deletions gdk4-win32/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
Generated by gir (https://github.com/gtk-rs/gir @ d7ce1bd186a7)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
4 changes: 2 additions & 2 deletions gdk4-win32/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
Generated by gir (https://github.com/gtk-rs/gir @ d7ce1bd186a7)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
4 changes: 2 additions & 2 deletions gdk4-x11/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
Generated by gir (https://github.com/gtk-rs/gir @ d7ce1bd186a7)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
1 change: 1 addition & 0 deletions gdk4-x11/src/auto/x11_device_manager_xi2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ impl X11DeviceManagerXI2Builder {
/// Build the [`X11DeviceManagerXI2`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> X11DeviceManagerXI2 {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gdk4-x11/src/auto/x11_device_xi2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ impl X11DeviceXI2Builder {
/// Build the [`X11DeviceXI2`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> X11DeviceXI2 {
assert_initialized_main_thread!();
self.builder.build()
}
}
4 changes: 2 additions & 2 deletions gdk4-x11/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
Generated by gir (https://github.com/gtk-rs/gir @ d7ce1bd186a7)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
1 change: 1 addition & 0 deletions gdk4/src/auto/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ impl CursorBuilder {
/// Build the [`Cursor`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> Cursor {
assert_initialized_main_thread!();
self.builder.build()
}
}
4 changes: 2 additions & 2 deletions gdk4/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
Generated by gir (https://github.com/gtk-rs/gir @ d7ce1bd186a7)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
4 changes: 2 additions & 2 deletions gdk4/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
Generated by gir (https://github.com/gtk-rs/gir @ d7ce1bd186a7)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
1 change: 1 addition & 0 deletions gsk4/src/auto/gl_shader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ impl GLShaderBuilder {
/// Build the [`GLShader`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> GLShader {
assert_initialized_main_thread!();
self.builder.build()
}
}
4 changes: 2 additions & 2 deletions gsk4/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
Generated by gir (https://github.com/gtk-rs/gir @ d7ce1bd186a7)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
4 changes: 2 additions & 2 deletions gsk4/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)
Generated by gir (https://github.com/gtk-rs/gir @ d7ce1bd186a7)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
1 change: 1 addition & 0 deletions gtk4/src/auto/about_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,7 @@ impl AboutDialogBuilder {
/// Build the [`AboutDialog`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> AboutDialog {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/action_bar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ impl ActionBarBuilder {
/// Build the [`ActionBar`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ActionBar {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/adjustment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ impl AdjustmentBuilder {
/// Build the [`Adjustment`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> Adjustment {
assert_initialized_main_thread!();
self.builder.build()
}
}
Expand Down
1 change: 1 addition & 0 deletions gtk4/src/auto/alert_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ impl AlertDialogBuilder {
/// Build the [`AlertDialog`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> AlertDialog {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/alternative_trigger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ impl AlternativeTriggerBuilder {
/// Build the [`AlternativeTrigger`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> AlternativeTrigger {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/app_chooser_button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ impl AppChooserButtonBuilder {
/// Build the [`AppChooserButton`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> AppChooserButton {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/app_chooser_widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@ impl AppChooserWidgetBuilder {
/// Build the [`AppChooserWidget`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> AppChooserWidget {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ impl ApplicationBuilder {
/// Build the [`Application`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> Application {
assert_initialized_main_thread!();
let ret = self.builder.build();
{
Application::register_startup_hook(&ret);
Expand Down
1 change: 1 addition & 0 deletions gtk4/src/auto/application_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ impl ApplicationWindowBuilder {
/// Build the [`ApplicationWindow`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ApplicationWindow {
assert_initialized_main_thread!();
self.builder.build()
}
}
Expand Down
1 change: 1 addition & 0 deletions gtk4/src/auto/aspect_frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ impl AspectFrameBuilder {
/// Build the [`AspectFrame`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> AspectFrame {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/assistant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,7 @@ impl AssistantBuilder {
/// Build the [`Assistant`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> Assistant {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/bool_filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ impl BoolFilterBuilder {
/// Build the [`BoolFilter`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> BoolFilter {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/box_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ impl BoxBuilder {
/// Build the [`Box`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> Box {
assert_initialized_main_thread!();
self.builder.build()
}
}
Expand Down
1 change: 1 addition & 0 deletions gtk4/src/auto/box_layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ impl BoxLayoutBuilder {
/// Build the [`BoxLayout`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> BoxLayout {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ impl ButtonBuilder {
/// Build the [`Button`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> Button {
assert_initialized_main_thread!();
self.builder.build()
}
}
Expand Down
1 change: 1 addition & 0 deletions gtk4/src/auto/calendar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ impl CalendarBuilder {
/// Build the [`Calendar`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> Calendar {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/cell_area_box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ impl CellAreaBoxBuilder {
/// Build the [`CellAreaBox`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> CellAreaBox {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/cell_renderer_accel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@ impl CellRendererAccelBuilder {
/// Build the [`CellRendererAccel`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> CellRendererAccel {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/cell_renderer_combo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ impl CellRendererComboBuilder {
/// Build the [`CellRendererCombo`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> CellRendererCombo {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/cell_renderer_pixbuf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ impl CellRendererPixbufBuilder {
/// Build the [`CellRendererPixbuf`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> CellRendererPixbuf {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/cell_renderer_progress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ impl CellRendererProgressBuilder {
/// Build the [`CellRendererProgress`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> CellRendererProgress {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/cell_renderer_spin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,7 @@ impl CellRendererSpinBuilder {
/// Build the [`CellRendererSpin`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> CellRendererSpin {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/cell_renderer_spinner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ impl CellRendererSpinnerBuilder {
/// Build the [`CellRendererSpinner`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> CellRendererSpinner {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/cell_renderer_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ impl CellRendererTextBuilder {
/// Build the [`CellRendererText`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> CellRendererText {
assert_initialized_main_thread!();
self.builder.build()
}
}
Expand Down
1 change: 1 addition & 0 deletions gtk4/src/auto/cell_renderer_toggle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ impl CellRendererToggleBuilder {
/// Build the [`CellRendererToggle`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> CellRendererToggle {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/cell_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,7 @@ impl CellViewBuilder {
/// Build the [`CellView`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> CellView {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/center_box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ impl CenterBoxBuilder {
/// Build the [`CenterBox`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> CenterBox {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/check_button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ impl CheckButtonBuilder {
/// Build the [`CheckButton`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> CheckButton {
assert_initialized_main_thread!();
self.builder.build()
}
}
Expand Down
1 change: 1 addition & 0 deletions gtk4/src/auto/color_button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ impl ColorButtonBuilder {
/// Build the [`ColorButton`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ColorButton {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/color_chooser_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ impl ColorChooserDialogBuilder {
/// Build the [`ColorChooserDialog`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ColorChooserDialog {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/color_chooser_widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ impl ColorChooserWidgetBuilder {
/// Build the [`ColorChooserWidget`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ColorChooserWidget {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/color_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ impl ColorDialogBuilder {
/// Build the [`ColorDialog`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ColorDialog {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/color_dialog_button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ impl ColorDialogButtonBuilder {
/// Build the [`ColorDialogButton`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ColorDialogButton {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/column_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,7 @@ impl ColumnViewBuilder {
/// Build the [`ColumnView`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ColumnView {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/column_view_cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ impl ColumnViewCellBuilder {
/// Build the [`ColumnViewCell`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ColumnViewCell {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/column_view_column.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ impl ColumnViewColumnBuilder {
/// Build the [`ColumnViewColumn`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ColumnViewColumn {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/column_view_row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ impl ColumnViewRowBuilder {
/// Build the [`ColumnViewRow`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ColumnViewRow {
assert_initialized_main_thread!();
self.builder.build()
}
}
1 change: 1 addition & 0 deletions gtk4/src/auto/combo_box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ impl ComboBoxBuilder {
/// Build the [`ComboBox`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ComboBox {
assert_initialized_main_thread!();
self.builder.build()
}
}
Expand Down
1 change: 1 addition & 0 deletions gtk4/src/auto/combo_box_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ impl ComboBoxTextBuilder {
/// Build the [`ComboBoxText`].
#[must_use = "Building the object from the builder is usually expensive and is not expected to have side effects"]
pub fn build(self) -> ComboBoxText {
assert_initialized_main_thread!();
self.builder.build()
}
}
Loading
Loading