1
0
Fork 0
forked from wry/wry

all: remove dead code

This commit is contained in:
Julian Orth 2024-05-02 19:37:19 +02:00
parent a20008d446
commit 8cee61122e
32 changed files with 9 additions and 145 deletions

View file

@ -50,13 +50,6 @@ impl DynDataOffer for ZwlrDataControlOfferV1 {
ZwlrDataControlOfferV1::send_offer(self, mime_type)
}
fn destroy(&self) {
match self.location {
IpcLocation::Clipboard => destroy_data_offer::<WlrClipboardIpc>(self),
IpcLocation::PrimarySelection => destroy_data_offer::<WlrPrimarySelectionIpc>(self),
}
}
fn cancel(&self) {
match self.location {
IpcLocation::Clipboard => cancel_offer::<WlrClipboardIpc>(self),