summaryrefslogtreecommitdiffstats
path: root/native/src/widget.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-12-02 17:47:44 +0700
committerLibravatar GitHub <noreply@github.com>2021-12-02 17:47:44 +0700
commit26d053ab3887b73f854a1174864d0fec221c5c9b (patch)
treea6cf758c934638e3dd9586781dfb62e1cf028572 /native/src/widget.rs
parentd9f970ffd5af6dafb5e696ad317d9ea7b997eb4b (diff)
parentbbd9355450bc2df3a2c0e37cc900ba00b26255af (diff)
downloadiced-26d053ab3887b73f854a1174864d0fec221c5c9b.tar.gz
iced-26d053ab3887b73f854a1174864d0fec221c5c9b.tar.bz2
iced-26d053ab3887b73f854a1174864d0fec221c5c9b.zip
Merge pull request #1131 from iced-rs/component-trait
`iced_lazy` and `Component` trait
Diffstat (limited to 'native/src/widget.rs')
-rw-r--r--native/src/widget.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/widget.rs b/native/src/widget.rs
index 07214b16..e2613e67 100644
--- a/native/src/widget.rs
+++ b/native/src/widget.rs
@@ -75,7 +75,7 @@ use crate::layout;
use crate::mouse;
use crate::overlay;
use crate::renderer;
-use crate::{Clipboard, Hasher, Layout, Length, Point, Rectangle};
+use crate::{Clipboard, Hasher, Layout, Length, Point, Rectangle, Shell};
/// A component that displays information and allows interaction.
///
@@ -163,7 +163,7 @@ where
_cursor_position: Point,
_renderer: &Renderer,
_clipboard: &mut dyn Clipboard,
- _messages: &mut Vec<Message>,
+ _shell: &mut Shell<'_, Message>,
) -> event::Status {
event::Status::Ignored
}