1use glib::translate::*;
4
5use crate::{prelude::*, FontChooser};
6
7#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
11#[allow(deprecated)]
12pub trait FontChooserExtManual: IsA<FontChooser> + 'static {
13 #[doc(alias = "gtk_font_chooser_set_filter_func")]
14 #[doc(alias = "set_filter_func")]
15 fn unset_filter_func(&self) {
16 unsafe {
17 crate::ffi::gtk_font_chooser_set_filter_func(
18 self.as_ref().to_glib_none().0,
19 None,
20 std::ptr::null_mut(),
21 None,
22 )
23 }
24 }
25}
26
27impl<O: IsA<FontChooser>> FontChooserExtManual for O {}