mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
remove deprecated method
This commit is contained in:
parent
12fa47f8f9
commit
7b2c07ac45
2 changed files with 1 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue