mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
remove extra conversion
This commit is contained in:
parent
8f1e94dd68
commit
3047102c87
4 changed files with 9 additions and 9 deletions
|
|
@ -94,7 +94,7 @@ impl Request {
|
|||
}
|
||||
|
||||
// Setters
|
||||
pub fn set_text(&self, value: &GString) {
|
||||
pub fn set_text(&self, value: &str) {
|
||||
self.widget.set_text(value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ impl Widget {
|
|||
}
|
||||
|
||||
// Setters
|
||||
pub fn set_text(&self, value: &GString) {
|
||||
pub fn set_text(&self, value: &str) {
|
||||
self.gobject.set_text(value);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue