Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pango/Gir.toml
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,12 @@ concurrency = "send+sync"
[[object.function]]
name = "merge_static"
ignore = true
[[object.function]]
name = "set_features_static"
ignore = true
[[object.function]]
name = "set_variations_static"
ignore = true

[[object]]
name = "Pango.FontFamily"
Expand Down
24 changes: 0 additions & 24 deletions pango/src/auto/font_description.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,18 +198,6 @@ impl FontDescription {
}
}

#[cfg(feature = "v1_56")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_56")))]
#[doc(alias = "pango_font_description_set_features_static")]
pub fn set_features_static(&mut self, features: &str) {
unsafe {
ffi::pango_font_description_set_features_static(
self.to_glib_none_mut().0,
features.to_glib_none().0,
);
}
}

#[doc(alias = "pango_font_description_set_gravity")]
pub fn set_gravity(&mut self, gravity: Gravity) {
unsafe {
Expand Down Expand Up @@ -257,18 +245,6 @@ impl FontDescription {
}
}

#[cfg(feature = "v1_42")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_42")))]
#[doc(alias = "pango_font_description_set_variations_static")]
pub fn set_variations_static(&mut self, variations: &str) {
unsafe {
ffi::pango_font_description_set_variations_static(
self.to_glib_none_mut().0,
variations.to_glib_none().0,
);
}
}

#[doc(alias = "pango_font_description_set_weight")]
pub fn set_weight(&mut self, weight: Weight) {
unsafe {
Expand Down
Loading