Remove the ability to retrieve the view's parent

This commit is contained in:
Antonio Scandurra 2023-05-03 16:52:55 +02:00
parent 7f137ed3dd
commit e9ed40da37
10 changed files with 22 additions and 30 deletions

View file

@ -2767,10 +2767,6 @@ impl<'a, 'b, V: View> ViewContext<'a, 'b, V> {
WeakViewHandle::new(self.window_id, self.view_id)
}
pub fn parent(&self) -> Option<usize> {
self.window_context.parent(self.view_id)
}
pub fn window_id(&self) -> usize {
self.window_id
}