mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-29 20:44:25 +00:00
cleanup
This commit is contained in:
parent
43abe41b31
commit
0f23730669
@ -30,12 +30,6 @@ impl Close {
|
|||||||
|
|
||||||
// Actions
|
// 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)
|
/// Change action [state](https://docs.gtk.org/gio/method.SimpleAction.set_state.html)
|
||||||
/// * set `DEFAULT_STATE` on `None`
|
/// * set `DEFAULT_STATE` on `None`
|
||||||
pub fn change_state(&self, state: Option<i32>) {
|
pub fn change_state(&self, state: Option<i32>) {
|
||||||
|
@ -30,12 +30,6 @@ impl CloseAll {
|
|||||||
|
|
||||||
// Actions
|
// 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)
|
/// Change action [state](https://docs.gtk.org/gio/method.SimpleAction.set_state.html)
|
||||||
/// * set `DEFAULT_STATE` on `None`
|
/// * set `DEFAULT_STATE` on `None`
|
||||||
pub fn change_state(&self, state: Option<i32>) {
|
pub fn change_state(&self, state: Option<i32>) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user