Commit fe169a53 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui

get_action! no need to specify the type

we already cast it to a gio::SimpleAction
hence the compiler can figure out the type
parent 387f4ee0
Pipeline #157363 passed with stage
in 2 minutes and 44 seconds
......@@ -57,7 +57,7 @@ macro_rules! get_action {
($actions:expr, $name:ident) => {
let $name: gio::SimpleAction = $actions
let $name = $actions
.expect(&format!("Could not find action \"{}\"", stringify!($name)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment