From 0f23730669a16b7e1dd09ef67956b1dcbd8e79df Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 10 Nov 2024 12:45:07 +0200 Subject: [PATCH] cleanup --- src/app/browser/window/action/close.rs | 6 ------ src/app/browser/window/action/close_all.rs | 6 ------ 2 files changed, 12 deletions(-) diff --git a/src/app/browser/window/action/close.rs b/src/app/browser/window/action/close.rs index 8743e634..6c927bee 100644 --- a/src/app/browser/window/action/close.rs +++ b/src/app/browser/window/action/close.rs @@ -30,12 +30,6 @@ impl Close { // Actions - /* @TODO not in use - /// Emit [activate](https://docs.gtk.org/gio/signal.SimpleAction.activate.html) signal - pub fn activate(&self) { - self.gobject.activate(None); - } */ - /// Change action [state](https://docs.gtk.org/gio/method.SimpleAction.set_state.html) /// * set `DEFAULT_STATE` on `None` pub fn change_state(&self, state: Option) { diff --git a/src/app/browser/window/action/close_all.rs b/src/app/browser/window/action/close_all.rs index 7add060a..938d422e 100644 --- a/src/app/browser/window/action/close_all.rs +++ b/src/app/browser/window/action/close_all.rs @@ -30,12 +30,6 @@ impl CloseAll { // Actions - /* @TODO not in use - /// Emit [activate](https://docs.gtk.org/gio/signal.SimpleAction.activate.html) signal - pub fn activate(&self) { - self.gobject.activate(None); - } */ - /// Change action [state](https://docs.gtk.org/gio/method.SimpleAction.set_state.html) /// * set `DEFAULT_STATE` on `None` pub fn change_state(&self, state: Option) {