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(), home.gobject(),
history.gobject(), history.gobject(),
reload.gobject(), reload.gobject(),
request.gobject(), request.widget().gobject(),
bookmark.gobject(), bookmark.gobject(),
); );

View File

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