enshort construction

This commit is contained in:
yggverse 2024-09-14 12:08:19 +03:00
parent 072a64dac7
commit 3545d23f3f

View File

@ -26,11 +26,9 @@ Browser::Browser(
} }
); );
const Glib::VariantType ACTION__OPEN__PARAMETER_TYPE("s");
const auto ACTION__OPEN = add_action_with_parameter( const auto ACTION__OPEN = add_action_with_parameter(
"open", "open",
ACTION__OPEN__PARAMETER_TYPE, Glib::VariantType("s"), // string
[this](const Glib::VariantBase & parameter) [this](const Glib::VariantBase & parameter)
{ {
// @TODO process request // @TODO process request