Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Remove manual FromGlibPtrNone<*const implementations #101

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/font_description.rs
Expand Up @@ -6,13 +6,6 @@ use glib::translate::*;
use ffi;
use FontDescription;

#[doc(hidden)]
impl FromGlibPtrNone<*const ffi::PangoFontDescription> for FontDescription {
unsafe fn from_glib_none(ptr: *const ffi::PangoFontDescription) -> Self {
from_glib_none(mut_override(ptr))
}
}

impl FontDescription {
pub fn set_family_static(&mut self, family: &'static str) {
unsafe {
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Expand Up @@ -34,6 +34,5 @@ pub mod item;
pub use item::Item;
pub mod language;
pub use language::Language;
pub mod matrix;
pub mod rectangle;
pub use rectangle::Rectangle;
14 changes: 0 additions & 14 deletions src/matrix.rs

This file was deleted.