mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
remove deprecated method
This commit is contained in:
parent
12fa47f8f9
commit
7b2c07ac45
@ -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(),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user