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

Commit

Permalink
Merge pull request #38 from sdroege/gnome-3.14
Browse files Browse the repository at this point in the history
Update to GNOME 3.14 versions
  • Loading branch information
GuillaumeGomez committed Feb 6, 2019
2 parents a47ec1a + 9d0a99c commit 4cbcbe3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
3 changes: 2 additions & 1 deletion Gir.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ version = "1.0"
target_path = "."
work_mode = "normal"
generate_safety_asserts = false
min_cfg_version = "1.30"
min_cfg_version = "1.36"
single_version_file = true
deprecate_by_min_version = true

generate = [
"PangoCairo.Font",
Expand Down
2 changes: 1 addition & 1 deletion gir
Submodule gir updated 2 files
+150 −138 Cargo.lock
+3 −3 Cargo.toml
9 changes: 0 additions & 9 deletions src/auto/font_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ impl FontMap {
pub const NONE_FONT_MAP: Option<&FontMap> = None;

pub trait FontMapExt: 'static {
#[deprecated]
fn create_context(&self) -> Option<pango::Context>;

fn get_resolution(&self) -> f64;

fn set_default(&self);
Expand All @@ -38,12 +35,6 @@ pub trait FontMapExt: 'static {
}

impl<O: IsA<FontMap>> FontMapExt for O {
fn create_context(&self) -> Option<pango::Context> {
unsafe {
from_glib_none(ffi::pango_cairo_font_map_create_context(self.as_ref().to_glib_none().0))
}
}

fn get_resolution(&self) -> f64 {
unsafe {
ffi::pango_cairo_font_map_get_resolution(self.as_ref().to_glib_none().0)
Expand Down
2 changes: 1 addition & 1 deletion src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ f5d3eab)
Generated by gir (https://github.com/gtk-rs/gir @ 4a198d9)
from gir-files (https://github.com/gtk-rs/gir-files @ 02dfee2)

0 comments on commit 4cbcbe3

Please sign in to comment.