Run cargo update`, adjust for changes in gtk-rs/relm4, and format

This commit is contained in:
Ian Douglas Scott 2022-07-21 14:02:01 -07:00
parent 0aaa0dd74d
commit eabe58f62c
10 changed files with 81 additions and 105 deletions

View file

@ -34,17 +34,8 @@ impl ObjectSubclass for DockPopover {
impl ObjectImpl for DockPopover {
fn signals() -> &'static [Signal] {
static SIGNALS: Lazy<Vec<Signal>> = Lazy::new(|| {
vec![Signal::builder(
// Signal name
"menu-hide",
// Types of the values which will be sent to the signal handler
&[],
// Type of the value the signal handler sends back
<()>::static_type().into(),
)
.build()]
});
static SIGNALS: Lazy<Vec<Signal>> =
Lazy::new(|| vec![Signal::builder("menu-hide").build()]);
SIGNALS.as_ref()
}
}