1
0
Fork 0
forked from wry/wry

toplevel: add property_changed_source

This commit is contained in:
Julian Orth 2026-03-07 13:33:52 +01:00
parent 3a03e3c584
commit 603ed6852f
2 changed files with 17 additions and 3 deletions

View file

@ -129,7 +129,6 @@ impl Deref for LazyEventSource {
}
impl LazyEventSource {
#[expect(dead_code)]
pub fn trigger(self: &Rc<Self>) {
if self.listeners.is_empty() {
return;
@ -142,7 +141,6 @@ impl LazyEventSource {
}
impl LazyEventSources {
#[expect(dead_code)]
pub fn create_source(self: &Rc<Self>) -> Rc<LazyEventSource> {
Rc::new(LazyEventSource {
sources: self.clone(),