1 2 3 4 5 6 7 8 9 10 11 12
use crate::PreferencesRow; use glib::subclass::prelude::*; use gtk::subclass::list_box_row::ListBoxRowImpl; use gtk::ListBoxRow; pub trait PreferencesRowImpl: ListBoxRowImpl {} unsafe impl<T: PreferencesRowImpl> IsSubclassable<T> for PreferencesRow { fn override_vfuncs(class: &mut glib::Class<Self>) { <ListBoxRow as IsSubclassable<T>>::override_vfuncs(class); } }