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

@ -169,18 +169,12 @@ impl ObjectImpl for NotificationsInner {
fn signals() -> &'static [Signal] {
static SIGNALS: Lazy<Vec<Signal>> = Lazy::new(|| {
vec![
Signal::builder(
"notification-received",
&[NotificationId::static_type().into()],
glib::Type::UNIT.into(),
)
.build(),
Signal::builder(
"notification-closed",
&[NotificationId::static_type().into()],
glib::Type::UNIT.into(),
)
.build(),
Signal::builder("notification-received")
.param_types(&[NotificationId::static_type().into()])
.build(),
Signal::builder("notification-closed")
.param_types(&[NotificationId::static_type().into()])
.build(),
]
});
SIGNALS.as_ref()