mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
swaybar: remove the argument of StatusNotifierHostRegistered
According to https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierWatcher/ there is no argument for the StatusNotifierHostRegistered signal.
This commit is contained in:
parent
b762f455d9
commit
7fbd9fbf28
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ static int register_host(sd_bus_message *msg, void *data, sd_bus_error *error) {
|
||||||
sway_log(SWAY_DEBUG, "Registering Status Notifier Host '%s'", service);
|
sway_log(SWAY_DEBUG, "Registering Status Notifier Host '%s'", service);
|
||||||
list_add(watcher->hosts, strdup(service));
|
list_add(watcher->hosts, strdup(service));
|
||||||
sd_bus_emit_signal(watcher->bus, obj_path, watcher->interface,
|
sd_bus_emit_signal(watcher->bus, obj_path, watcher->interface,
|
||||||
"StatusNotifierHostRegistered", "s", service);
|
"StatusNotifierHostRegistered", "");
|
||||||
} else {
|
} else {
|
||||||
sway_log(SWAY_DEBUG, "Status Notifier Host '%s' already registered", service);
|
sway_log(SWAY_DEBUG, "Status Notifier Host '%s' already registered", service);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue