mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
refactor: unexport tray watcher
This commit is contained in:
parent
f8a47598ba
commit
d8be72e4b6
@ -24,8 +24,7 @@ Watcher::~Watcher() {
|
||||
items_ = nullptr;
|
||||
}
|
||||
auto iface = G_DBUS_INTERFACE_SKELETON(watcher_);
|
||||
auto conn = g_dbus_interface_skeleton_get_connection(iface);
|
||||
g_dbus_interface_skeleton_unexport_from_connection(iface, conn);
|
||||
g_dbus_interface_skeleton_unexport(iface);
|
||||
}
|
||||
|
||||
void Watcher::busAcquired(const Glib::RefPtr<Gio::DBus::Connection>& conn, Glib::ustring name) {
|
||||
|
Loading…
Reference in New Issue
Block a user