mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
Rename ComponentDefintion::callback_names() to just callbacks()
That's consistent with properties().
This commit is contained in:
parent
855808f9b5
commit
c0511a54ea
4 changed files with 10 additions and 12 deletions
|
@ -313,7 +313,7 @@ SCENARIO("Component Definition Properties")
|
|||
REQUIRE(properties[0].property_name == "test");
|
||||
REQUIRE(properties[0].property_type == Value::Type::String);
|
||||
|
||||
auto callback_names = comp_def.callback_names();
|
||||
auto callback_names = comp_def.callbacks();
|
||||
REQUIRE(callback_names.size() == 1);
|
||||
REQUIRE(callback_names[0] == "dummy");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue