remove deprecated method

This commit is contained in:
yggverse 2024-11-11 00:17:30 +02:00
parent 12fa47f8f9
commit 7b2c07ac45
2 changed files with 1 additions and 5 deletions

View File

@ -47,7 +47,7 @@ impl Navigation {
home.gobject(),
history.gobject(),
reload.gobject(),
request.gobject(),
request.widget().gobject(),
bookmark.gobject(),
);

View File

@ -9,7 +9,6 @@ use gtk::{
gio::SimpleAction,
glib::{Uri, UriFlags},
prelude::EditableExt,
Entry,
};
use sqlite::Transaction;
use std::rc::Rc;
@ -96,9 +95,6 @@ impl Request {
}
// Getters
pub fn gobject(&self) -> &Entry {
self.widget.gobject()
}
pub fn widget(&self) -> &Rc<Widget> {
&self.widget