use gtk4::{
gio,
glib::{self, clone, subclass::Signal, SignalHandlerId},
prelude::*,
subclass::prelude::*,
};
use once_cell::sync::Lazy;
use std::{
borrow::Cow,
cell::{Cell, RefCell},
collections::HashMap,
fmt,
num::NonZeroU32,
rc::Rc,
};
static PATH: &str = "/org/freedesktop/Notifications";
static INTERFACE: &str = "org.freedesktop.Notifications";
static NOTIFICATIONS_XML: &str = "
";
#[derive(Default)]
pub struct NotificationsInner {
next_id: Cell,
notifications: RefCell>>,
connection: RefCell