Skip to content

Commit

Permalink
gtk: regen with fixed builder pattern for fundamental types
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Dec 29, 2021
1 parent f8738e1 commit 01b4a85
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gtk4/src/auto/bool_filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl BoolFilterBuilder {
}

pub fn expression(mut self, expression: impl AsRef<Expression>) -> Self {
self.expression = Some(expression.clone().upcast());
self.expression = Some(expression.as_ref().clone());
self
}

Expand Down
2 changes: 1 addition & 1 deletion gtk4/src/auto/drop_down.rs
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ impl DropDownBuilder {
}

pub fn expression(mut self, expression: impl AsRef<Expression>) -> Self {
self.expression = Some(expression.clone().upcast());
self.expression = Some(expression.as_ref().clone());
self
}

Expand Down
2 changes: 1 addition & 1 deletion gtk4/src/auto/numeric_sorter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl NumericSorterBuilder {
}

pub fn expression(mut self, expression: impl AsRef<Expression>) -> Self {
self.expression = Some(expression.clone().upcast());
self.expression = Some(expression.as_ref().clone());
self
}

Expand Down
2 changes: 1 addition & 1 deletion gtk4/src/auto/string_filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ impl StringFilterBuilder {
}

pub fn expression(mut self, expression: impl AsRef<Expression>) -> Self {
self.expression = Some(expression.clone().upcast());
self.expression = Some(expression.as_ref().clone());
self
}

Expand Down
2 changes: 1 addition & 1 deletion gtk4/src/auto/string_sorter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl StringSorterBuilder {
}

pub fn expression(mut self, expression: impl AsRef<Expression>) -> Self {
self.expression = Some(expression.clone().upcast());
self.expression = Some(expression.as_ref().clone());
self
}

Expand Down
2 changes: 1 addition & 1 deletion gtk4/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 @ 090cd5db90ac)
Generated by gir (https://github.com/gtk-rs/gir @ 36779e563f80)
from gir-files (https://github.com/gtk-rs/gir-files.git @ 898f6c1fb177)
2 changes: 1 addition & 1 deletion gtk4/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 @ 090cd5db90ac)
Generated by gir (https://github.com/gtk-rs/gir @ 36779e563f80)
from gir-files (https://github.com/gtk-rs/gir-files.git @ 898f6c1fb177)

0 comments on commit 01b4a85

Please sign in to comment.