gtk: drop Deref/DerefMut impls from Border
we already provide getters/setters
use glib::translate::*;
use std::fmt;
-use std::ops;
glib::wrapper! {
#[doc(alias = "GtkBorder")]
@@ -15,20 +14,6 @@ glib::wrapper! {
}
}
-impl ops::Deref for Border {
- type Target = ffi::GtkBorder;
-
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-
-impl ops::DerefMut for Border {
- fn deref_mut(&mut self) -> &mut Self::Target {
- &mut self.0
- }
-}
-
impl Border {
#[doc(alias = "gtk_border_new")]
pub fn new() -> Self {
