deactivate not in use constructions

This commit is contained in:
yggverse 2024-11-10 11:55:42 +02:00
parent 8113022cd4
commit 6f7a21705e
3 changed files with 4 additions and 4 deletions

View File

@ -30,10 +30,11 @@ impl Close {
// Actions // Actions
/* @TODO not in use
/// Emit [activate](https://docs.gtk.org/gio/signal.SimpleAction.activate.html) signal /// Emit [activate](https://docs.gtk.org/gio/signal.SimpleAction.activate.html) signal
pub fn activate(&self) { pub fn activate(&self) {
self.gobject.activate(None); self.gobject.activate(None);
} } */
/// Change action [state](https://docs.gtk.org/gio/method.SimpleAction.set_state.html) /// Change action [state](https://docs.gtk.org/gio/method.SimpleAction.set_state.html)
/// * set `DEFAULT_STATE` on `None` /// * set `DEFAULT_STATE` on `None`

View File

@ -30,10 +30,11 @@ impl CloseAll {
// Actions // Actions
/* @TODO not in use
/// Emit [activate](https://docs.gtk.org/gio/signal.SimpleAction.activate.html) signal /// Emit [activate](https://docs.gtk.org/gio/signal.SimpleAction.activate.html) signal
pub fn activate(&self) { pub fn activate(&self) {
self.gobject.activate(None); self.gobject.activate(None);
} } */
/// Change action [state](https://docs.gtk.org/gio/method.SimpleAction.set_state.html) /// Change action [state](https://docs.gtk.org/gio/method.SimpleAction.set_state.html)
/// * set `DEFAULT_STATE` on `None` /// * set `DEFAULT_STATE` on `None`

View File

@ -38,7 +38,6 @@ pub struct Page {
cancellable: RefCell<Cancellable>, cancellable: RefCell<Cancellable>,
// Actions // Actions
browser_action: Rc<BrowserAction>, browser_action: Rc<BrowserAction>,
window_action: Rc<WindowAction>,
tab_action: Rc<TabAction>, tab_action: Rc<TabAction>,
action_page_load: SimpleAction, action_page_load: SimpleAction,
// Components // Components
@ -93,7 +92,6 @@ impl Page {
id, id,
// Actions // Actions
browser_action, browser_action,
window_action,
tab_action, tab_action,
action_page_load: action_page_load.clone(), action_page_load: action_page_load.clone(),
// Components // Components