forked from quickshell/quickshell
all: fix gcc warnings
This commit is contained in:
parent
92252c36a3
commit
b528be9426
19 changed files with 57 additions and 22 deletions
|
|
@ -63,6 +63,12 @@ void PwBindableObject::unref() {
|
|||
if (this->refcount == 0) this->unbind();
|
||||
}
|
||||
|
||||
void PwBindableObject::registryBind(const char* interface, quint32 version) {
|
||||
// NOLINTNEXTLINE
|
||||
auto* object = pw_registry_bind(this->registry->object, this->id, interface, version, 0);
|
||||
this->object = static_cast<pw_proxy*>(object);
|
||||
}
|
||||
|
||||
void PwBindableObject::bind() {
|
||||
qCDebug(logRegistry) << "Bound object" << this;
|
||||
this->bindHooks();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue