Browse Source

enshort construction

CPP-GTK4
yggverse 2 months ago
parent
commit
3545d23f3f
  1. 4
      src/app/browser.cpp

4
src/app/browser.cpp

@ -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

Loading…
Cancel
Save