diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2023-01-05 13:32:01 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-01-05 13:33:54 +0300 |
commit | 27435ad82eaad2745fa144d837e7c4d818d3099f (patch) | |
tree | c9e2a446b8a5726ae9b8a32cecd8bf1e61c2255e /tutorial | |
parent | d846f527af8ed8bf9072aa1b32268390fede16e6 (diff) |
Update for API changes
Diffstat (limited to 'tutorial')
-rw-r--r-- | tutorial/src/progressbin/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/src/progressbin/imp.rs b/tutorial/src/progressbin/imp.rs index 3811c0bef..e65d2bcaa 100644 --- a/tutorial/src/progressbin/imp.rs +++ b/tutorial/src/progressbin/imp.rs @@ -223,7 +223,7 @@ impl BinImpl for ProgressBin { // handling of the parent class, i.e. forwarding to the parent // bins and the application. MessageView::Element(msg) - if msg.src().as_ref() == Some(self.progress.upcast_ref()) + if msg.src() == Some(self.progress.upcast_ref()) && msg .structure() .map(|s| s.name() == "progress") |