Skip to content

Commit e84c552

Browse files
committed
pango: Ignore FontDescription::set_features_static() and set_variations_static() for now
1 parent f7df1bf commit e84c552

File tree

2 files changed

+6
-24
lines changed

2 files changed

+6
-24
lines changed

pango/Gir.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,12 @@ concurrency = "send+sync"
270270
[[object.function]]
271271
name = "merge_static"
272272
ignore = true
273+
[[object.function]]
274+
name = "set_features_static"
275+
ignore = true
276+
[[object.function]]
277+
name = "set_variations_static"
278+
ignore = true
273279

274280
[[object]]
275281
name = "Pango.FontFamily"

pango/src/auto/font_description.rs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -198,18 +198,6 @@ impl FontDescription {
198198
}
199199
}
200200

201-
#[cfg(feature = "v1_56")]
202-
#[cfg_attr(docsrs, doc(cfg(feature = "v1_56")))]
203-
#[doc(alias = "pango_font_description_set_features_static")]
204-
pub fn set_features_static(&mut self, features: &str) {
205-
unsafe {
206-
ffi::pango_font_description_set_features_static(
207-
self.to_glib_none_mut().0,
208-
features.to_glib_none().0,
209-
);
210-
}
211-
}
212-
213201
#[doc(alias = "pango_font_description_set_gravity")]
214202
pub fn set_gravity(&mut self, gravity: Gravity) {
215203
unsafe {
@@ -257,18 +245,6 @@ impl FontDescription {
257245
}
258246
}
259247

260-
#[cfg(feature = "v1_42")]
261-
#[cfg_attr(docsrs, doc(cfg(feature = "v1_42")))]
262-
#[doc(alias = "pango_font_description_set_variations_static")]
263-
pub fn set_variations_static(&mut self, variations: &str) {
264-
unsafe {
265-
ffi::pango_font_description_set_variations_static(
266-
self.to_glib_none_mut().0,
267-
variations.to_glib_none().0,
268-
);
269-
}
270-
}
271-
272248
#[doc(alias = "pango_font_description_set_weight")]
273249
pub fn set_weight(&mut self, weight: Weight) {
274250
unsafe {

0 commit comments

Comments
 (0)