Skip to content

Commit

Permalink
libdbus: <arg> for <signal> should not have directions (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
omegacoleman authored May 24, 2024
1 parent 01953c2 commit 25d7c5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/fcitx-utils/dbus/libdbus/objectvtable_libdbus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ const std::string &ObjectVTableBasePrivate::getXml(ObjectVTableBase *q) {
p->xml_ +=
stringutils::concat("<signal name=\"", sig->name(), "\">");
for (auto &type : splitDBusSignature(sig->signature())) {
p->xml_ += stringutils::concat("<arg direction=\"in\" type=\"",
type, "\"/>");
p->xml_ += stringutils::concat("<arg type=\"", type, "\"/>");
}
p->xml_ += "</signal>";
}
Expand Down

0 comments on commit 25d7c5c

Please sign in to comment.