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
/* @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`

View File

@ -30,10 +30,11 @@ 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`

View File

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