protocols: refactor class member vars (types) (#10261)
This commit is contained in:
parent
3465efcdc1
commit
46ac115bd1
21 changed files with 147 additions and 147 deletions
|
|
@ -50,11 +50,11 @@ CPrimarySelectionSource::CPrimarySelectionSource(SP<CZwpPrimarySelectionSourceV1
|
|||
resource->setData(this);
|
||||
|
||||
resource->setDestroy([this](CZwpPrimarySelectionSourceV1* r) {
|
||||
events.destroy.emit();
|
||||
m_events.destroy.emit();
|
||||
PROTO::primarySelection->destroyResource(this);
|
||||
});
|
||||
resource->setOnDestroy([this](CZwpPrimarySelectionSourceV1* r) {
|
||||
events.destroy.emit();
|
||||
m_events.destroy.emit();
|
||||
PROTO::primarySelection->destroyResource(this);
|
||||
});
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ CPrimarySelectionSource::CPrimarySelectionSource(SP<CZwpPrimarySelectionSourceV1
|
|||
}
|
||||
|
||||
CPrimarySelectionSource::~CPrimarySelectionSource() {
|
||||
events.destroy.emit();
|
||||
m_events.destroy.emit();
|
||||
}
|
||||
|
||||
SP<CPrimarySelectionSource> CPrimarySelectionSource::fromResource(wl_resource* res) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue