diff --git a/pango/src/auto/functions.rs b/pango/src/auto/functions.rs index 6adf5ab5a96a..0d46b1016e5b 100644 --- a/pango/src/auto/functions.rs +++ b/pango/src/auto/functions.rs @@ -2,10 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{ - ffi, Analysis, AttrIterator, AttrList, Context, Direction, GlyphString, Item, Stretch, Style, - Variant, Weight, -}; +use crate::{ffi, Analysis, AttrList, Direction, GlyphString, Stretch, Style, Variant, Weight}; use glib::translate::*; //#[cfg_attr(feature = "v1_44", deprecated = "Since 1.44")] @@ -57,50 +54,6 @@ pub fn is_zero_width(ch: char) -> bool { unsafe { from_glib(ffi::pango_is_zero_width(ch.into_glib())) } } -#[doc(alias = "pango_itemize")] -pub fn itemize<'a>( - context: &Context, - text: &str, - start_index: i32, - length: i32, - attrs: &AttrList, - cached_iter: impl Into>, -) -> Vec { - unsafe { - FromGlibPtrContainer::from_glib_full(ffi::pango_itemize( - context.to_glib_none().0, - text.to_glib_none().0, - start_index, - length, - attrs.to_glib_none().0, - mut_override(cached_iter.into().to_glib_none().0), - )) - } -} - -#[doc(alias = "pango_itemize_with_base_dir")] -pub fn itemize_with_base_dir<'a>( - context: &Context, - base_dir: Direction, - text: &str, - start_index: i32, - length: i32, - attrs: &AttrList, - cached_iter: impl Into>, -) -> Vec { - unsafe { - FromGlibPtrContainer::from_glib_full(ffi::pango_itemize_with_base_dir( - context.to_glib_none().0, - base_dir.into_glib(), - text.to_glib_none().0, - start_index, - length, - attrs.to_glib_none().0, - mut_override(cached_iter.into().to_glib_none().0), - )) - } -} - #[doc(alias = "pango_markup_parser_finish")] pub fn markup_parser_finish( context: &glib::MarkupParseContext,