cargo: Update gtk-rs stack
This commit is contained in:
parent
a7116925bf
commit
0ed7036098
11 changed files with 230 additions and 199 deletions
|
|
@ -296,7 +296,7 @@ mod imp {
|
|||
);
|
||||
|
||||
obj.connect_realize(glib::clone!(@weak surface_signals => move |obj| {
|
||||
surface_signals.set_target(obj.native().map(|x| x.surface()).as_ref());
|
||||
surface_signals.set_target(obj.native().and_then(|x| x.surface()).as_ref());
|
||||
}));
|
||||
|
||||
obj.connect_unrealize(glib::clone!(@weak surface_signals => move |_| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue