From 7b2c07ac45e1dfc06431d75bc87557cb37cc3900 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 11 Nov 2024 00:17:30 +0200 Subject: [PATCH] remove deprecated method --- src/app/browser/window/tab/item/page/navigation.rs | 2 +- src/app/browser/window/tab/item/page/navigation/request.rs | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/app/browser/window/tab/item/page/navigation.rs b/src/app/browser/window/tab/item/page/navigation.rs index b386b99e..5437dbaa 100644 --- a/src/app/browser/window/tab/item/page/navigation.rs +++ b/src/app/browser/window/tab/item/page/navigation.rs @@ -47,7 +47,7 @@ impl Navigation { home.gobject(), history.gobject(), reload.gobject(), - request.gobject(), + request.widget().gobject(), bookmark.gobject(), ); diff --git a/src/app/browser/window/tab/item/page/navigation/request.rs b/src/app/browser/window/tab/item/page/navigation/request.rs index b6ce4232..16ac0f76 100644 --- a/src/app/browser/window/tab/item/page/navigation/request.rs +++ b/src/app/browser/window/tab/item/page/navigation/request.rs @@ -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 { &self.widget