diff --git a/src/ifs/ipc.rs b/src/ifs/ipc.rs index 40ea6338..d83a6a7e 100644 --- a/src/ifs/ipc.rs +++ b/src/ifs/ipc.rs @@ -146,8 +146,6 @@ pub trait WlrIpcVtable: IpcVtable { } pub trait IpcVtable: Sized { - const LOCATION: IpcLocation; - type Device; type Source: DataSource; type Offer: DataOffer; diff --git a/src/ifs/ipc/wl_data_device.rs b/src/ifs/ipc/wl_data_device.rs index 5362dbc8..9bcd22c0 100644 --- a/src/ifs/ipc/wl_data_device.rs +++ b/src/ifs/ipc/wl_data_device.rs @@ -5,8 +5,8 @@ use { ifs::{ ipc::{ break_device_loops, destroy_data_device, wl_data_offer::WlDataOffer, - wl_data_source::WlDataSource, DeviceData, IpcLocation, IpcVtable, - IterableIpcVtable, OfferData, Role, + wl_data_source::WlDataSource, DeviceData, IpcVtable, IterableIpcVtable, OfferData, + Role, }, wl_seat::{WlSeatError, WlSeatGlobal}, wl_surface::WlSurfaceError, @@ -162,8 +162,6 @@ impl IterableIpcVtable for ClipboardIpc { } impl IpcVtable for ClipboardIpc { - const LOCATION: IpcLocation = IpcLocation::Clipboard; - type Device = WlDataDevice; type Source = WlDataSource; type Offer = WlDataOffer; diff --git a/src/ifs/ipc/x_data_device.rs b/src/ifs/ipc/x_data_device.rs index e9f6e4a0..1c374fc4 100644 --- a/src/ifs/ipc/x_data_device.rs +++ b/src/ifs/ipc/x_data_device.rs @@ -65,7 +65,6 @@ impl XIpc for XPrimarySelectionIpc { } impl IpcVtable for T { - const LOCATION: IpcLocation = T::LOCATION; type Device = XIpcDevice; type Source = XDataSource; type Offer = XDataOffer; diff --git a/src/ifs/ipc/zwlr_data_control_device_v1.rs b/src/ifs/ipc/zwlr_data_control_device_v1.rs index 01c8f882..127d5049 100644 --- a/src/ifs/ipc/zwlr_data_control_device_v1.rs +++ b/src/ifs/ipc/zwlr_data_control_device_v1.rs @@ -217,7 +217,6 @@ impl WlrIpcVtable for WlrIpcImpl { } impl IpcVtable for WlrIpcImpl { - const LOCATION: IpcLocation = T::LOCATION; type Device = ZwlrDataControlDeviceV1; type Source = ZwlrDataControlSourceV1; type Offer = ZwlrDataControlOfferV1; diff --git a/src/ifs/ipc/zwp_primary_selection_device_v1.rs b/src/ifs/ipc/zwp_primary_selection_device_v1.rs index 43041885..e2f3a932 100644 --- a/src/ifs/ipc/zwp_primary_selection_device_v1.rs +++ b/src/ifs/ipc/zwp_primary_selection_device_v1.rs @@ -6,7 +6,7 @@ use { break_device_loops, destroy_data_device, zwp_primary_selection_offer_v1::ZwpPrimarySelectionOfferV1, zwp_primary_selection_source_v1::ZwpPrimarySelectionSourceV1, DeviceData, - IpcLocation, IpcVtable, IterableIpcVtable, OfferData, Role, + IpcVtable, IterableIpcVtable, OfferData, Role, }, wl_seat::{WlSeatError, WlSeatGlobal}, }, @@ -109,8 +109,6 @@ impl IterableIpcVtable for PrimarySelectionIpc { } impl IpcVtable for PrimarySelectionIpc { - const LOCATION: IpcLocation = IpcLocation::PrimarySelection; - type Device = ZwpPrimarySelectionDeviceV1; type Source = ZwpPrimarySelectionSourceV1; type Offer = ZwpPrimarySelectionOfferV1;