remove extra references

This commit is contained in:
yggverse 2024-11-08 05:42:17 +02:00
parent 3393ffa4c4
commit 7e1c03f8dd
2 changed files with 3 additions and 3 deletions

View File

@ -213,7 +213,7 @@ impl Reader {
let tag = TextTag::builder().wrap_mode(WrapMode::Word).build();
buffer.tag_table().add(&tag);
buffer.insert_with_tags(&mut buffer.end_iter(), &line, &[&tag]);
buffer.insert_with_tags(&mut buffer.end_iter(), line, &[&tag]);
buffer.insert(&mut buffer.end_iter(), "\n");
}

View File

@ -38,7 +38,7 @@ impl Input {
size_limit: Option<usize>,
) {
self.widget.update(Some(
&Response::new_rc(action_page_open, base, title, size_limit).gobject(),
Response::new_rc(action_page_open, base, title, size_limit).gobject(),
));
}
@ -50,7 +50,7 @@ impl Input {
max_length: Option<i32>,
) {
self.widget.update(Some(
&Sensitive::new_rc(action_page_open, base, title, max_length).gobject(),
Sensitive::new_rc(action_page_open, base, title, max_length).gobject(),
));
}